aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-12 22:27:55 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-12 22:27:55 +0000
commit98c430276226e8a145946d7c98b52fc90d3e7038 (patch)
tree7d58e7d36560881a50510c59296b7ea2151159a1
parent4d543c0ca9ba80cb616afd782fdf7dbfe73770d0 (diff)
downloadphpicalendar-98c430276226e8a145946d7c98b52fc90d3e7038.tar.gz
phpicalendar-98c430276226e8a145946d7c98b52fc90d3e7038.tar.bz2
phpicalendar-98c430276226e8a145946d7c98b52fc90d3e7038.zip
*** empty log message ***
-rw-r--r--README1
-rw-r--r--functions/ical_parser.php8
2 files changed, 5 insertions, 4 deletions
diff --git a/README b/README
index b30f385..d8c8f83 100644
--- a/README
+++ b/README
@@ -72,6 +72,7 @@ Changes:
-Upload new calendars (ftp)
-Calendars folder can now be outside your web space.
-Print view can now be set for your default view.
+ -Calendars can now be store outside of phpicalendar's installation.
-Minor bug fixes
0.8.1
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index 4521988..bed4d02 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -691,7 +691,7 @@ if ($parse_file) {
// sort the sub (day) arrays so the times are in order
foreach (array_keys($master_array) as $k) {
if (isset($master_array[$k]) && is_array($master_array[$k])) {
- ksort($master_array[$k]);
+ krsort($master_array[$k]);
reset($master_array[$k]);
}
}
@@ -709,12 +709,12 @@ if ($parse_file) {
//If you want to see the values in the arrays, uncomment below.
-//print '<pre>';
-//print_r($master_array);
+print '<pre>';
+print_r($master_array);
//print_r($overlap_array);
//print_r($day_array);
//print_r($rrule);
-//print '</pre>';
+print '</pre>';
?>

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