corrected typho remeber --> remember.

This commit is contained in:
Cornelius Weiß 2005-05-11 18:54:34 +00:00
parent 632a990cfb
commit e70ba22f00
2 changed files with 5 additions and 5 deletions

View File

@ -154,7 +154,7 @@
if($GLOBALS['egw_info']['server']['allow_cookie_auth']) if($GLOBALS['egw_info']['server']['allow_cookie_auth'])
{ {
$eGW_remember = unserialize(stripslashes($_COOKIE['eGW_remeber'])); $eGW_remember = unserialize(stripslashes($_COOKIE['eGW_remember']));
if($eGW_remember['login'] && $eGW_remember['passwd'] && $eGW_remember['passwd_type']) if($eGW_remember['login'] && $eGW_remember['passwd'] && $eGW_remember['passwd_type'])
{ {
@ -206,7 +206,7 @@
if(getenv('REQUEST_METHOD') != 'POST' && $_SERVER['REQUEST_METHOD'] != 'POST' && if(getenv('REQUEST_METHOD') != 'POST' && $_SERVER['REQUEST_METHOD'] != 'POST' &&
!isset($_SERVER['PHP_AUTH_USER']) && !isset($_SERVER['SSL_CLIENT_S_DN'])) !isset($_SERVER['PHP_AUTH_USER']) && !isset($_SERVER['SSL_CLIENT_S_DN']))
{ {
$GLOBALS['phpgw']->session->phpgw_setcookie('eGW_remeber'); $GLOBALS['phpgw']->session->phpgw_setcookie('eGW_remember');
$GLOBALS['egw']->redirect($GLOBALS['egw']->link('/login.php','cd=5')); $GLOBALS['egw']->redirect($GLOBALS['egw']->link('/login.php','cd=5'));
} }
#if(!isset($_COOKIE['eGroupWareLoginTime'])) #if(!isset($_COOKIE['eGroupWareLoginTime']))
@ -248,7 +248,7 @@
if(!isset($GLOBALS['sessionid']) || ! $GLOBALS['sessionid']) if(!isset($GLOBALS['sessionid']) || ! $GLOBALS['sessionid'])
{ {
$GLOBALS['phpgw']->session->phpgw_setcookie('eGW_remeber'); $GLOBALS['phpgw']->session->phpgw_setcookie('eGW_remember');
$GLOBALS['egw']->redirect($GLOBALS['egw_info']['server']['webserver_url'] . '/login.php?cd=' . $GLOBALS['egw']->session->cd_reason); $GLOBALS['egw']->redirect($GLOBALS['egw_info']['server']['webserver_url'] . '/login.php?cd=' . $GLOBALS['egw']->session->cd_reason);
} }
else else
@ -275,7 +275,7 @@
$remember_time = 2147483647; $remember_time = 2147483647;
break; break;
} }
$GLOBALS['egw']->session->phpgw_setcookie('eGW_remeber',serialize(array( $GLOBALS['egw']->session->phpgw_setcookie('eGW_remember',serialize(array(
'login' => $login, 'login' => $login,
'passwd' => $passwd, 'passwd' => $passwd,
'passwd_type' => $passwd_type)), 'passwd_type' => $passwd_type)),

View File

@ -55,7 +55,7 @@
)); ));
} }
} }
$GLOBALS['phpgw']->session->phpgw_setcookie('eGW_remeber'); $GLOBALS['phpgw']->session->phpgw_setcookie('eGW_remember');
$GLOBALS['phpgw']->session->phpgw_setcookie('sessionid'); $GLOBALS['phpgw']->session->phpgw_setcookie('sessionid');
$GLOBALS['phpgw']->session->phpgw_setcookie('kp3'); $GLOBALS['phpgw']->session->phpgw_setcookie('kp3');
$GLOBALS['phpgw']->session->phpgw_setcookie('domain'); $GLOBALS['phpgw']->session->phpgw_setcookie('domain');