aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-14 22:33:10 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-14 22:33:10 +0000
commit1724fa0c21afc79bf4e98d074b12f16560ac9b9b (patch)
tree4e7aedb28bc9763a034f0da2945edef146a4a4d2
parent73e08787dca11fbe5c3cfe659148dc320e84a34c (diff)
downloadphpicalendar-1724fa0c21afc79bf4e98d074b12f16560ac9b9b.tar.gz
phpicalendar-1724fa0c21afc79bf4e98d074b12f16560ac9b9b.tar.bz2
phpicalendar-1724fa0c21afc79bf4e98d074b12f16560ac9b9b.zip
Settings placed back to default for 0.9.5 release.
-rw-r--r--config.inc.php2
-rw-r--r--functions/ical_parser.php2
-rw-r--r--functions/init.inc.php2
3 files changed, 2 insertions, 4 deletions
diff --git a/config.inc.php b/config.inc.php
index 1c0af33..0347f96 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -31,7 +31,7 @@ $cookie_uri = ''; // The HTTP URL to the PHP iCalendar directory, ie. htt
$download_uri = ''; // The HTTP URL to your calendars directory, ie. http://www.example.com/phpicalendar/calendars
// Yes/No questions --- 'yes' means Yes, anything else means no. 'yes' must be lowercase.
-$save_parsed_cals = 'no'; // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence.
+$save_parsed_cals = 'yes'; // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence.
$use_sessions = 'no'; // This has not yet been implemented.
$display_custom_goto = 'no'; // In the 'Jump To' box, display the custom 'go to day' box.
$display_ical_list = 'yes'; // In the 'Jump To' box, display the pop-up menu with the list of all calendars in the $calendar_path directory.
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index 85ed3ec..c46583c 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -655,8 +655,6 @@ foreach ($cal_filelist as $filename) {
} else {
unset ($field, $data, $prop_pos, $property);
- $field = '';
- $data = '';
ereg ("([^:]+):(.*)", $line, $line);
$field = $line[1];
$data = $line[2];
diff --git a/functions/init.inc.php b/functions/init.inc.php
index 3be7abb..5bae3c7 100644
--- a/functions/init.inc.php
+++ b/functions/init.inc.php
@@ -6,7 +6,7 @@
//chmod(BASE.'calendars/School.ics',0666);
// uncomment when developing, comment for shipping version
-error_reporting (E_ALL);
+error_reporting (0);
$ALL_CALENDARS_COMBINED = 'all_calendars_combined971';
if (!defined('BASE')) define('BASE', './');

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