aboutsummaryrefslogtreecommitdiffstats
path: root/functions/calendar_functions.php
diff options
context:
space:
mode:
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