From 1724fa0c21afc79bf4e98d074b12f16560ac9b9b Mon Sep 17 00:00:00 2001 From: Chad Little Date: Fri, 14 Nov 2003 22:33:10 +0000 Subject: Settings placed back to default for 0.9.5 release. --- config.inc.php | 2 +- functions/ical_parser.php | 2 -- functions/init.inc.php | 2 +- 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', './'); -- cgit v1.2.3