Changeset 1623 for trunk/include/user.inc.php
- Timestamp:
- Dec 1, 2006, 2:46:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/user.inc.php
r1568 r1623 44 44 redirect(make_index_url()); 45 45 } 46 elseif (empty($_SESSION['pwg_uid'])) 47 { // timeout 48 setcookie(session_name(),'',0, 49 ini_get('session.cookie_path'), 50 ini_get('session.cookie_domain') 51 ); 52 } 53 else 46 elseif (!empty($_SESSION['pwg_uid'])) 54 47 { 55 48 $user['id'] = $_SESSION['pwg_uid']; 56 49 } 57 50 } 58 59 51 60 52 // Now check the auto-login … … 64 56 } 65 57 58 if (session_id()=="") 59 { 60 session_start(); 61 } 66 62 67 63 // using Apache authentication override the above user search
Note: See TracChangeset
for help on using the changeset viewer.