Changeset 1231 for trunk/include/user.inc.php
- Timestamp:
- Apr 21, 2006, 4:11:29 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/user.inc.php
r1106 r1231 27 27 28 28 // retrieving connected user informations 29 if (isset($_COOKIE[session_name()])) 29 if (isset($_COOKIE[session_name()])) 30 30 { 31 31 session_start(); 32 if (isset($_SESSION[' id']))32 if (isset($_SESSION['pwg_uid'])) 33 33 { 34 $user['id'] = $_SESSION[' id'];34 $user['id'] = $_SESSION['pwg_uid']; 35 35 $user['is_the_guest'] = false; 36 36 } 37 else 37 else 38 38 { 39 39 // session timeout … … 41 41 $user['is_the_guest'] = true; 42 42 } 43 } 44 else 43 } 44 else 45 45 { 46 46 $user['id'] = $conf['guest_id']; … … 56 56 $user['id'] = get_userid($_SERVER['REMOTE_USER']); 57 57 } 58 58 59 59 $user['is_the_guest'] = false; 60 60 }
Note: See TracChangeset
for help on using the changeset viewer.