aboutsummaryrefslogtreecommitdiffstats
path: root/functions/userauth_functions.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-09-02 18:39:51 +0000
committerChad Little <clittle@users.sourceforge.net>2004-09-02 18:39:51 +0000
commitaa3869c95eddd0bdde4c985771cda50223a34e98 (patch)
tree0dbdad3d667a9900dd51298152113a2b08e3c2c2 /functions/userauth_functions.php
parent56ab391e8915b00a1fafa5fefefd0d102eb1757c (diff)
downloadphpicalendar-aa3869c95eddd0bdde4c985771cda50223a34e98.tar.gz
phpicalendar-aa3869c95eddd0bdde4c985771cda50223a34e98.tar.bz2
phpicalendar-aa3869c95eddd0bdde4c985771cda50223a34e98.zip
Updated to $_COOKIE
Diffstat (limited to 'functions/userauth_functions.php')
-rw-r--r--functions/userauth_functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/userauth_functions.php b/functions/userauth_functions.php
index 4fe04fb..7a408da 100644
--- a/functions/userauth_functions.php
+++ b/functions/userauth_functions.php
@@ -43,7 +43,7 @@ function logout_querys() {
// if no valid login is found. Returns a boolean invalid_login to
// indicate that the login is invalid.
function user_login() {
- global $HTTP_COOKIE_VARS, $HTTP_GET_VARS, $HTTP_POST_VARS, $_SERVER;
+ global $_COOKIE, $HTTP_GET_VARS, $HTTP_POST_VARS, $_SERVER;
global $login_cookies, $cookie_uri, $locked_map;
// Initialize return values.
@@ -57,9 +57,9 @@ function user_login() {
// Look for a login cookie.
if ($login_cookies == 'yes' &&
- isset($HTTP_COOKIE_VARS['phpicalendar_login']))
+ isset($_COOKIE['phpicalendar_login']))
{
- $login_cookie = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar_login']));
+ $login_cookie = unserialize(stripslashes($_COOKIE['phpicalendar_login']));
if (isset($login_cookie['username']) &&
isset($login_cookie['password']))
{

© 2014-2024 Faster IT GmbH | imprint | privacy policy