diff --git a/inc/auth.php b/inc/auth.php index d2fa92d..4943958 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -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)