Changeset 651 for trunk/include
- Timestamp:
- Dec 20, 2004, 11:03:04 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_user.inc.php
r650 r651 159 159 function check_login_authorization($guest_allowed = true) 160 160 { 161 global $user,$lang,$conf,$page; 162 163 if ( $user['is_the_guest']) 164 { 165 if ( $conf['access'] == 'restricted' || !$guest_allowed ) 161 global $user,$lang; 162 163 if ($user['is_the_guest'] and !$guest_allowed) 166 164 { 167 165 echo '<div style="text-align:center;">'.$lang['only_members'].'<br />'; 168 166 echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>'; 169 167 exit(); 170 }171 168 } 172 169 }
Note: See TracChangeset
for help on using the changeset viewer.