aboutsummaryrefslogtreecommitdiffstats
path: root/functions/init.inc.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-05-29 06:27:14 +0000
committerChad Little <clittle@users.sourceforge.net>2003-05-29 06:27:14 +0000
commit572e8a6a1f9dbc8e2a7ac0dc480689487b4217aa (patch)
tree26a63e35f8477a44fb541598877f8166fe7fd1c2 /functions/init.inc.php
parentaa4bae7e1a095471174d42d79628ed72fa7ce901 (diff)
downloadphpicalendar-572e8a6a1f9dbc8e2a7ac0dc480689487b4217aa.tar.gz
phpicalendar-572e8a6a1f9dbc8e2a7ac0dc480689487b4217aa.tar.bz2
phpicalendar-572e8a6a1f9dbc8e2a7ac0dc480689487b4217aa.zip
Fixed a tons of E_ALL errors for smoother installs.
Diffstat (limited to 'functions/init.inc.php')
-rw-r--r--functions/init.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/init.inc.php b/functions/init.inc.php
index 2b44e69..05326f8 100644
--- a/functions/init.inc.php
+++ b/functions/init.inc.php
@@ -6,12 +6,12 @@
//chmod(BASE.'calendars/School.ics',0666);
// uncomment when developing, comment for shipping version
-// error_reporting (E_ALL);
+error_reporting (E_ALL);
if (!defined('BASE')) define('BASE', './');
include(BASE.'config.inc.php');
include(BASE.'functions/error.php');
-if ($HTTP_COOKIE_VARS['phpicalendar']) {
+if (isset($HTTP_COOKIE_VARS['phpicalendar'])) {
$phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar']));
if (isset($phpicalendar['cookie_language'])) $language = $phpicalendar['cookie_language'];
if (isset($phpicalendar['cookie_calendar'])) $default_cal_check = $phpicalendar['cookie_calendar'];

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