temp fix for db restore 2

This commit is contained in:
2019-10-05 01:03:12 +02:00
parent 16e202630e
commit 7579fc4104

View File

@@ -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)