Changeset 1511 for trunk/index.php
- Timestamp:
- Jul 28, 2006, 11:34:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r1503 r1511 36 36 check_status(ACCESS_GUEST); 37 37 38 //---------------------------------------------------------------------- logout39 if ( isset( $_GET['act'] )40 and $_GET['act'] == 'logout'41 and isset( $_COOKIE[session_name()] ) )42 {43 // cookie deletion if exists44 $_SESSION = array();45 session_unset();46 session_destroy();47 setcookie(session_name(),'',0,48 ini_get('session.cookie_path'), ini_get('session.cookie_domain') );49 redirect( make_index_url() );50 }51 if ($user['is_the_guest'] and !$conf['guest_access'])52 {53 redirect (get_root_url().'identification.php');54 }55 56 38 //---------------------------------------------- change of image display order 57 39 if (isset($_GET['image_order']))
Note: See TracChangeset
for help on using the changeset viewer.