diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-09-26 16:00:41 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-09-26 16:00:41 +0000 |
commit | ab856ec5103b5174af8fddfbc90c9c64a65b7068 (patch) | |
tree | 1c30f558121eecccc338663451462ce7b8d1657e | |
parent | bd44c84b346d56bf52b913bdf8ecba07df3a15cb (diff) | |
download | phpicalendar-ab856ec5103b5174af8fddfbc90c9c64a65b7068.tar.gz phpicalendar-ab856ec5103b5174af8fddfbc90c9c64a65b7068.tar.bz2 phpicalendar-ab856ec5103b5174af8fddfbc90c9c64a65b7068.zip |
Fixed errors.
-rw-r--r-- | functions/init.inc.php | 2 | ||||
-rw-r--r-- | index.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/functions/init.inc.php b/functions/init.inc.php index 2d4517c..9a50fc6 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -6,7 +6,7 @@ //chmod(BASE.'calendars/School.ics',0666); // uncomment when developing, comment for shipping version -//error_reporting (E_ALL); +error_reporting (E_ALL); $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; if (!defined('BASE')) define('BASE', './'); @@ -1,7 +1,8 @@ <?php +if (!isset($ALL_CALENDARS_COMBINED)) $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; include "./config.inc.php"; -if ($HTTP_COOKIE_VARS['phpicalendar']) { +if (isset($HTTP_COOKIE_VARS['phpicalendar'])) { $phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar'])); $default_view = $phpicalendar['cookie_view']; } |