From aa3869c95eddd0bdde4c985771cda50223a34e98 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 2 Sep 2004 18:39:51 +0000 Subject: Updated to $_COOKIE --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index c49ac4e..13d55f2 100644 --- a/index.php +++ b/index.php @@ -2,8 +2,8 @@ if (!isset($ALL_CALENDARS_COMBINED)) $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; include "./config.inc.php"; -if (isset($HTTP_COOKIE_VARS['phpicalendar'])) { - $phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar'])); +if (isset($_COOKIE['phpicalendar'])) { + $phpicalendar = unserialize(stripslashes($_COOKIE['phpicalendar'])); $default_view = $phpicalendar['cookie_view']; } if ($printview_default == 'yes') { -- cgit v1.2.3