aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-17 02:32:10 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-17 02:32:10 +0000
commita497e2c7646bd65201184a61a8eab40789c328e8 (patch)
tree076f5b4bd2c126767965116535d05d194c5fdc9e /index.php
parent634f3af22feb3be1d325d9f44d83ae9289b0b668 (diff)
downloadphpicalendar-a497e2c7646bd65201184a61a8eab40789c328e8.tar.gz
phpicalendar-a497e2c7646bd65201184a61a8eab40789c328e8.tar.bz2
phpicalendar-a497e2c7646bd65201184a61a8eab40789c328e8.zip
4 of 5 cookies seem to work on my machine.
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index eadbebb..1cee6f0 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,10 @@
<?php
include "./config.inc.php";
+if ($HTTP_COOKIE_VARS['phpicalendar']) {
+ $phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar']));
+ $default_view = $phpicalendar['cookie_view'];
+}
if ($printview_default == 'yes') {
$default_view = "print.php?printview=$default_view";
} else {

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