diff options
author | jwangen <jwangen> | 2002-10-03 05:41:40 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-10-03 05:41:40 +0000 |
commit | b1563901b07c57d0957a760296c12431637c2bb0 (patch) | |
tree | e95801a3b379bb103c4f0b9a52a8e529c26aa0a2 | |
parent | b89e74abfa385495d22f36aeed4c83e3f962a3d6 (diff) | |
download | phpicalendar-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.php | 4 | ||||
-rw-r--r-- | day.php | 2 | ||||
-rw-r--r-- | event.php | 2 | ||||
-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.php | 2 | ||||
-rw-r--r-- | month.php | 2 | ||||
-rw-r--r-- | week.php | 2 |
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 @@ -8,7 +8,7 @@ if (isset($HTTP_GET_VARS["jumpto_day"])) { } } $current_view = "day"; -include("./ical_parser.php"); +include("./functions/ical_parser.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 " " @@ -1,6 +1,6 @@ <?php -include "config.inc.php"; +include "./config.inc.php"; $default_view = "$default_view" . ".php"; header("Location: $default_view"); @@ -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"); @@ -1,7 +1,7 @@ <?php $current_view = "week"; -include("./ical_parser.php"); +include("./functions/ical_parser.php"); //if ($use_sessions == "yes") { // session_start(); |