aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwangen <jwangen>2002-10-03 05:41:40 +0000
committerjwangen <jwangen>2002-10-03 05:41:40 +0000
commitb1563901b07c57d0957a760296c12431637c2bb0 (patch)
treee95801a3b379bb103c4f0b9a52a8e529c26aa0a2
parentb89e74abfa385495d22f36aeed4c83e3f962a3d6 (diff)
downloadphpicalendar-b1563901b07c57d0957a760296c12431637c2bb0.tar.gz
phpicalendar-b1563901b07c57d0957a760296c12431637c2bb0.tar.bz2
phpicalendar-b1563901b07c57d0957a760296c12431637c2bb0.zip
Moved init.inc.php and ical_parser into the functions directory
-rw-r--r--config.inc.php4
-rw-r--r--day.php2
-rw-r--r--event.php2
-rw-r--r--functions/ical_parser.php (renamed from ical_parser.php)2
-rw-r--r--functions/init.inc.php (renamed from init.inc.php)2
-rw-r--r--index.php2
-rw-r--r--month.php2
-rw-r--r--week.php2
8 files changed, 9 insertions, 9 deletions
diff --git a/config.inc.php b/config.inc.php
index 44e6c37..835b5c7 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -4,8 +4,8 @@ $style_sheet = "silver"; // Themes support
$calendar_path = "./calendars"; // path to directory with calendars
$default_view = "day"; // default view for calendars = "day", "week", "month"
$default_cal = "Home"; // exact filename of calendar without .ics
-$language = "English"; // Language support - "English", "Polish", "German", "French", "Dutch", "Danish", "Italian", "Japanese", "Norwegian"
-$week_start_day = "Sunday"; // Day of the week your week starts on
+$language = "english"; // Language support - "English", "Polish", "German", "French", "Dutch", "Danish", "Italian", "Japanese", "Norwegian"
+$week_start_day = "sunday"; // Day of the week your week starts on
$use_sessions = "yes"; // For speedy performance on web servers, not good for localhost use.
$day_start = "0700"; // Start time for day grid
$gridLength = "15"; // grid distance in minutes for day view
diff --git a/day.php b/day.php
index d867f8b..70bfed6 100644
--- a/day.php
+++ b/day.php
@@ -8,7 +8,7 @@ if (isset($HTTP_GET_VARS["jumpto_day"])) {
}
}
$current_view = "day";
-include("./ical_parser.php");
+include("./functions/ical_parser.php");
diff --git a/event.php b/event.php
index b0bd2de..0aa0be1 100644
--- a/event.php
+++ b/event.php
@@ -1,6 +1,6 @@
<?php
-include "init.inc.php";
+include ("./functions/init.inc.php");
$event = urldecode($event);
$event = stripslashes($event);
$event = str_replace("\\", "", $event);
diff --git a/ical_parser.php b/functions/ical_parser.php
index 74ac113..ec6f77b 100644
--- a/ical_parser.php
+++ b/functions/ical_parser.php
@@ -6,7 +6,7 @@
// I started commenting the line above where $master_array gets written to
// I did this because I kept scrolling through looking for them so I decided to mark them
-include("./init.inc.php");
+include("./functions/init.inc.php");
include("./functions/date_add.php");
include("./functions/date_functions.php");
include("./functions/draw_functions.php");
diff --git a/init.inc.php b/functions/init.inc.php
index f24c6bc..7525fbc 100644
--- a/init.inc.php
+++ b/functions/init.inc.php
@@ -23,7 +23,7 @@ if (file_exists($lang_file)) {
// Not sure if we should print this warning or not. It would inform the user
// why the language isn't working.
print "File \"$lang_file\" does not exist, defaulting to English<br><br>";
- include("./languages/english.inc.php");
+ include("../languages/english.inc.php");
}
// $cal_displayname is $cal_filename with occurrences of "32" replaced with " "
diff --git a/index.php b/index.php
index 1e7975a..177c4e3 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
-include "config.inc.php";
+include "./config.inc.php";
$default_view = "$default_view" . ".php";
header("Location: $default_view");
diff --git a/month.php b/month.php
index cc33e26..3a5fdd4 100644
--- a/month.php
+++ b/month.php
@@ -1,6 +1,6 @@
<?php
$current_view = "month";
- include("./ical_parser.php");
+ include("./functions/ical_parser.php");
//might not need this, depending on implimentation, doesn't work correctly in current form anyway
//setcookie("last_view", "month");
diff --git a/week.php b/week.php
index 88255e1..5bb26ff 100644
--- a/week.php
+++ b/week.php
@@ -1,7 +1,7 @@
<?php
$current_view = "week";
-include("./ical_parser.php");
+include("./functions/ical_parser.php");
//if ($use_sessions == "yes") {
// session_start();

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