aboutsummaryrefslogtreecommitdiffstats
path: root/index.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 /index.php
parent56ab391e8915b00a1fafa5fefefd0d102eb1757c (diff)
downloadphpicalendar-aa3869c95eddd0bdde4c985771cda50223a34e98.tar.gz
phpicalendar-aa3869c95eddd0bdde4c985771cda50223a34e98.tar.bz2
phpicalendar-aa3869c95eddd0bdde4c985771cda50223a34e98.zip
Updated to $_COOKIE
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
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') {

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