Changeset 1471


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

merge from trunk r1469:1470 into branch 1.6 (feature 470)

Location:
branches/branch-1_6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/include/config_default.inc.php

    r1413 r1471  
    389389$conf['allow_adviser'] = false;
    390390
     391// does the guest have access ?
     392// (not a security feature, set your categories "private" too)
     393// If false it'll be redirected from index.php to identification.php
     394$conf['guest_access'] = true;
     395
    391396// +-----------------------------------------------------------------------+
    392397// |                                upload                                 |
  • branches/branch-1_6/index.php

    r1435 r1471  
    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.