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:
@@ -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());
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user