]> git.mxchange.org Git - friendica.git/blobdiff - include/poller.php
Updated doc in include/probe.php
[friendica.git] / include / poller.php
index f0192f0f0385dc243dbeeb2f6711e2c6d57e16bb..08e71fd486b69c23b68b52ee3e560b715e25c2e8 100644 (file)
@@ -19,8 +19,8 @@ require_once("boot.php");
 function poller_run($argv, $argc){
        global $a, $db;
 
-       if(is_null($a)) {
-               $a = new App;
+       if (is_null($a)) {
+               $a = new App(dirname(__DIR__));
        }
 
        if(is_null($db)) {
@@ -91,7 +91,6 @@ function poller_run($argv, $argc){
                if (time() > ($starttime + 3600))
                        return;
        }
-
 }
 
 /**
@@ -689,4 +688,3 @@ if (array_search(__file__,get_included_files())===0){
 
        killme();
 }
-?>