diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-10-23 06:39:06 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-10-23 06:39:06 +0000 |
commit | 609650a5e790ecd6c1107a8a8924936284a9c010 (patch) | |
tree | 7814f132e9ad6343ddbe0ab41aab4d845425e9ba /functions | |
parent | 626ad791d35bfaba4678f54c144e321f0fc8f23c (diff) | |
download | phpicalendar-609650a5e790ecd6c1107a8a8924936284a9c010.tar.gz phpicalendar-609650a5e790ecd6c1107a8a8924936284a9c010.tar.bz2 phpicalendar-609650a5e790ecd6c1107a8a8924936284a9c010.zip |
Added BASE to files, started 0.8 README
Diffstat (limited to 'functions')
-rw-r--r-- | functions/ical_parser.php | 13 | ||||
-rw-r--r-- | functions/init.inc.php | 6 |
2 files changed, 11 insertions, 8 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index d385b0e..196e4b4 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -1,11 +1,12 @@ <?php -include('./functions/init.inc.php'); -include('./functions/date_add.php'); -include('./functions/date_functions.php'); -include('./functions/draw_functions.php'); -include('./functions/overlapping_events.php'); -include('./functions/timezones.php'); +define('BASE', './'); +include(BASE.'functions/init.inc.php'); +include(BASE.'functions/date_add.php'); +include(BASE.'functions/date_functions.php'); +include(BASE.'functions/draw_functions.php'); +include(BASE.'functions/overlapping_events.php'); +include(BASE.'functions/timezones.php'); $fillTime = $day_start; $day_array = array (); diff --git a/functions/init.inc.php b/functions/init.inc.php index a4af8ce..fec8708 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -18,8 +18,10 @@ if(phpversion() >= '4.2.0') extract($HTTP_POST_VARS); } */ -include('./config.inc.php'); -include('./functions/error.php'); + +define('BASE', './'); +include(BASE.'config.inc.php'); +include(BASE.'functions/error.php'); // language support $language = strtolower($language); |