Changeset 75
- Timestamp:
- 28/05/05 17:11:01 (4 years ago)
- Files:
-
- admin.lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
admin.lib.php
r74 r75 71 71 startSession(); 72 72 } 73 //close the session if its move IP73 /* //close the session if its move IP 74 74 elseif($_SESSION[ip] != $host) { 75 75 session_unset(); 76 76 $this->sessionError =_("IP Changed"); 77 77 $this->startSession(); 78 } 79 elseif($_REQUEST[logout]) { 80 session_unset(); 81 } 78 } */ 82 79 //else we are happy, and we just update the session time 83 80 else { 84 81 $_SESSION[oldTime] = $_SESSION[time]; 85 82 $_SESSION[time] = time(); 83 } 84 if ($this->sessionError) { 85 echo "<p class=\"invalid\">*** " . $this->sessionError . " ***</p>\n"; 86 86 } 87 87 }
