aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-08-31 16:58:17 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-08-31 16:58:17 +0100
commit473e582d1f3e5067c1aecee9c9f2f579864db3ef (patch)
treeb142818108d74b36ea88ef86affd720ec61d049a /include/poller.php
parent45c35d97b8ce627cb90efa320b7daca4097aef75 (diff)
downloadvolse-hubzilla-473e582d1f3e5067c1aecee9c9f2f579864db3ef.tar.gz
volse-hubzilla-473e582d1f3e5067c1aecee9c9f2f579864db3ef.tar.bz2
volse-hubzilla-473e582d1f3e5067c1aecee9c9f2f579864db3ef.zip
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.
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php
index 546a2d6d1..b9d728e8d 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -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());