Changeset 1470 for trunk/index.php


Ignore:
Timestamp:
Jul 15, 2006, 10:20:47 AM (18 years ago)
Author:
chrisaga
Message:

improve : allow to redirect guest from index.php to identification.php (feature 470)

usefull if the whole gallery is private
we lost it when category.php became index.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r1436 r1470  
    4949  redirect( make_index_url() );
    5050}
     51if ($user['is_the_guest'] and !$conf['guest_access'])
     52{
     53  redirect (get_root_url().'identification.php');
     54}
    5155
    5256//---------------------------------------------- change of image display order
Note: See TracChangeset for help on using the changeset viewer.