diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-11-17 02:32:10 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-11-17 02:32:10 +0000 |
commit | a497e2c7646bd65201184a61a8eab40789c328e8 (patch) | |
tree | 076f5b4bd2c126767965116535d05d194c5fdc9e /index.php | |
parent | 634f3af22feb3be1d325d9f44d83ae9289b0b668 (diff) | |
download | phpicalendar-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.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 { |