temp fix for db restore 2
This commit is contained in:
@@ -179,7 +179,8 @@ class Auth extends PhpObject
|
||||
$sServerName = array_key_exists('SERVER_NAME', $_SERVER)?$_SERVER['SERVER_NAME']:$_SERVER['PWD'];
|
||||
$sAppPath = $_SERVER['REQUEST_SCHEME'].'://'.str_replace(array('http://', 'https://'), '', $sServerName.dirname($_SERVER['SCRIPT_NAME']));
|
||||
$_GET['serv_name'] = $sAppPath.(mb_substr($sAppPath, -1)!='/'?'/':'');
|
||||
return md5($sPass.$_GET['serv_name']);
|
||||
//return md5($sPass.$_GET['serv_name']);
|
||||
return md5($sPass.'http://localhost/catc/');
|
||||
}
|
||||
|
||||
private function resetAuthCookie($iUserId)
|
||||
|
||||
Reference in New Issue
Block a user