diff options
author | jwangen <jwangen> | 2002-11-02 05:17:17 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-11-02 05:17:17 +0000 |
commit | 15e50df43b59493358d034ca684450aec36093c9 (patch) | |
tree | d052ede69aec8cf4fde15499f6d17c775451cac3 /functions/init.inc.php | |
parent | c1b79428e7e0ce1c094457932e1941fd397768ce (diff) | |
download | phpicalendar-15e50df43b59493358d034ca684450aec36093c9.tar.gz phpicalendar-15e50df43b59493358d034ca684450aec36093c9.tar.bz2 phpicalendar-15e50df43b59493358d034ca684450aec36093c9.zip |
fixed all errors which error_reporting() was returning
Diffstat (limited to 'functions/init.inc.php')
-rw-r--r-- | functions/init.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/init.inc.php b/functions/init.inc.php index c92be45..744f49e 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); // Retain some compatibility backwards like. //jared.20021003 I think we're always going to make sure these are extracted by hand @@ -25,7 +25,7 @@ if(phpversion() >= '4.2.0') } */ -define('BASE', './'); +if (!defined('BASE')) define('BASE', './'); include(BASE.'config.inc.php'); include(BASE.'functions/error.php'); |