From: <par...@us...> - 2009-02-05 22:30:54
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv5830/functions Modified Files: userauth_functions.php Log Message: Fix cookie_uri setting when login_cookies is enabled Index: userauth_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/userauth_functions.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** userauth_functions.php 31 Dec 2008 11:16:34 -0000 1.8 --- userauth_functions.php 5 Feb 2009 22:30:49 -0000 1.9 *************** *** 98,102 **** if ($login_cookies == 'yes') { $the_cookie = serialize(array('username' => $username, 'password' => $password)); ! setcookie('phpicalendar_login', $the_cookie, time()+(60*60*24*7*12*10), '/', $cookie_uri, 0); } else { $_SESSION['username'] = $username; --- 98,102 ---- if ($login_cookies == 'yes') { $the_cookie = serialize(array('username' => $username, 'password' => $password)); ! setcookie('phpicalendar_login', $the_cookie, time()+(60*60*24*7*12*10), '/', $phpiCal_config->cookie_uri, 0); } else { $_SESSION['username'] = $username; |