From e70ba22f00f21753123cb3a26689ddfa6c7c360e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Wed, 11 May 2005 18:54:34 +0000 Subject: [PATCH] corrected typho remeber --> remember. --- login.php | 8 ++++---- logout.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/login.php b/login.php index 1d718446f1..af1eeecc03 100755 --- a/login.php +++ b/login.php @@ -154,7 +154,7 @@ 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']) { @@ -206,7 +206,7 @@ if(getenv('REQUEST_METHOD') != 'POST' && $_SERVER['REQUEST_METHOD'] != 'POST' && !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')); } #if(!isset($_COOKIE['eGroupWareLoginTime'])) @@ -248,7 +248,7 @@ 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); } else @@ -275,7 +275,7 @@ $remember_time = 2147483647; break; } - $GLOBALS['egw']->session->phpgw_setcookie('eGW_remeber',serialize(array( + $GLOBALS['egw']->session->phpgw_setcookie('eGW_remember',serialize(array( 'login' => $login, 'passwd' => $passwd, 'passwd_type' => $passwd_type)), diff --git a/logout.php b/logout.php index 682d4540ed..abb03ec54d 100755 --- a/logout.php +++ b/logout.php @@ -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('kp3'); $GLOBALS['phpgw']->session->phpgw_setcookie('domain');