Add check_upstream_directory() to check that your directory is still

a directory, and if it isn't, let find_upstream_directory() find you
a new one.
This commit is contained in:
Thomas Willingham
2014-08-31 16:58:17 +01:00
parent 45c35d97b8
commit 473e582d1f
2 changed files with 23 additions and 0 deletions

View File

@@ -111,6 +111,9 @@ function poller_run($argv, $argc){
if(($d2 != $d1) && ($h1 == $h2)) {
require_once('include/dir_fns.php');
check_upstream_directory();
call_hooks('cron_daily',datetime_convert());