Changeset 75

Show
Ignore:
Timestamp:
28/05/05 17:11:01 (4 years ago)
Author:
rollercow
Message:

Disabled IP Check.. chaining of platimum and campus proxy breaks it..

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • admin.lib.php

    r74 r75  
    7171                        startSession(); 
    7272                } 
    73               //close the session if its move IP 
     73/*            //close the session if its move IP 
    7474                elseif($_SESSION[ip] != $host)  { 
    7575                        session_unset(); 
    7676                        $this->sessionError =_("IP Changed"); 
    7777                        $this->startSession(); 
    78                 } 
    79                 elseif($_REQUEST[logout]) { 
    80                         session_unset(); 
    81                 } 
     78                } */ 
    8279                //else we are happy, and we just update the session time 
    8380                else    { 
    8481                        $_SESSION[oldTime] = $_SESSION[time]; 
    8582                        $_SESSION[time] = time(); 
     83                } 
     84                if ($this->sessionError) { 
     85                        echo "<p class=\"invalid\">*** " . $this->sessionError . " ***</p>\n"; 
    8686                } 
    8787        }