aboutsummaryrefslogtreecommitdiffstats
path: root/init.inc.php
diff options
context:
space:
mode:
authorjwangen <jwangen>2002-09-21 12:08:33 +0000
committerjwangen <jwangen>2002-09-21 12:08:33 +0000
commitee7898896f015033336c47406993b61f89c214fb (patch)
treebf34ae4c10a482098a5d0d7f8e60f063132fa004 /init.inc.php
parent04d8faf60e5c79550a3b64098603fa1b9ddd24bd (diff)
downloadphpicalendar-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.php15
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"]));

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