aboutsummaryrefslogtreecommitdiffstats
path: root/functions/calendar_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2009-01-26 03:27:29 +0000
committerJim Hu <jimhu@users.sourceforge.net>2009-01-26 03:27:29 +0000
commit9c1ad1c80dbdf3cfa73477437c33fb821a0424b8 (patch)
tree785f2fc14fa7d60efb39864ea16309e927d2ab8b /functions/calendar_functions.php
parentcecd608ffaea0d25f182fb9e2e0883c3d17186de (diff)
downloadphpicalendar-9c1ad1c80dbdf3cfa73477437c33fb821a0424b8.tar.gz
phpicalendar-9c1ad1c80dbdf3cfa73477437c33fb821a0424b8.tar.bz2
phpicalendar-9c1ad1c80dbdf3cfa73477437c33fb821a0424b8.zip
misc changes for 2.31
Diffstat (limited to 'functions/calendar_functions.php')
-rw-r--r--functions/calendar_functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/calendar_functions.php b/functions/calendar_functions.php
index 2362686..25ec8ed 100644
--- a/functions/calendar_functions.php
+++ b/functions/calendar_functions.php
@@ -101,6 +101,8 @@ function availableCalendars($username, $password, $cal_filename, $admin = false)
if (!is_file($file)) continue;
// Remove any php files.
if (preg_match("/^.*\.php$/i", $file)) continue;
+ # remove publish log file
+ if ($file == 'publish_log.txt') continue;
// Make sure this is not a blacklisted calendar.
$cal_name = getCalendarName($file);
if (in_array($cal_name, $blacklisted_cals)) continue;

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