aboutsummaryrefslogtreecommitdiffstats
path: root/functions/calendar_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2005-11-29 08:35:48 +0000
committerJim Hu <jimhu@users.sourceforge.net>2005-11-29 08:35:48 +0000
commit9ac55e3b0c986411f19b9ca3aa99a087e2562b6b (patch)
tree3fd5ac2493872eff23381bdcd6233f0b5c67c2d7 /functions/calendar_functions.php
parent2b469d2b56c288f8fc18d004ed85e55832739e6f (diff)
downloadphpicalendar-9ac55e3b0c986411f19b9ca3aa99a087e2562b6b.tar.gz
phpicalendar-9ac55e3b0c986411f19b9ca3aa99a087e2562b6b.tar.bz2
phpicalendar-9ac55e3b0c986411f19b9ca3aa99a087e2562b6b.zip
init.inc.php - strip . from cpath, change time calc, calendar_functions.php change in getCalendarname to not truncate names not ending in .ics
Diffstat (limited to 'functions/calendar_functions.php')
-rw-r--r--functions/calendar_functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/calendar_functions.php b/functions/calendar_functions.php
index a587d2c..5774b04 100644
--- a/functions/calendar_functions.php
+++ b/functions/calendar_functions.php
@@ -196,7 +196,7 @@ function getCalendarName($cal_path) {
}
// At this point, just pull the name off the file.
- return substr(basename($cal_path), 0, -4);
+ return basename($cal_path,".ics");
}
// This function prints out the calendars available to the user, for

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