diff options
author | jwangen <jwangen> | 2002-09-21 12:08:33 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-09-21 12:08:33 +0000 |
commit | ee7898896f015033336c47406993b61f89c214fb (patch) | |
tree | bf34ae4c10a482098a5d0d7f8e60f063132fa004 /init.inc.php | |
parent | 04d8faf60e5c79550a3b64098603fa1b9ddd24bd (diff) | |
download | phpicalendar-ee7898896f015033336c47406993b61f89c214fb.tar.gz phpicalendar-ee7898896f015033336c47406993b61f89c214fb.tar.bz2 phpicalendar-ee7898896f015033336c47406993b61f89c214fb.zip |
ical_parser.php was modified heavily.
Recurring weekly events works pretty well and efficiently
Modified the config to *only* have user customizable values and our
initializations went into init.inc.php
Diffstat (limited to 'init.inc.php')
-rw-r--r-- | init.inc.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/init.inc.php b/init.inc.php index 50c9dce..b64b3ff 100644 --- a/init.inc.php +++ b/init.inc.php @@ -1,6 +1,21 @@ <? +// Retain some compatibility backwards like. +if(phpversion() >= "4.2.0") + + { + extract($HTTP_POST_VARS); + extract($HTTP_GET_VARS); + } + include('./config.inc.php'); +// define supported languages +if ($language == "English") { + include "languages/english.inc.php"; +} else { + include "languages/english.inc.php"; +} + // $cal_filename should always be the filename of the calendar without .ics if (isset($_GET["cal"])) { $cal_filename = stripslashes(urldecode($_GET["cal"])); |