]> git.mxchange.org Git - friendica.git/blobdiff - include/shadowupdate.php
It is better this way
[friendica.git] / include / shadowupdate.php
index f1cbd2de9c129156f9072a6db8ec7b7002ed0f69..756f220ec823d67a4265738b2b624fb6baec6d34 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 
+use Friendica\App;
 use Friendica\Core\Config;
 
 require_once("boot.php");
@@ -9,7 +10,7 @@ function shadowupdate_run(&$argv, &$argc){
        global $a, $db;
 
        if (is_null($a)) {
-               $a = new App;
+               $a = new App(dirname(__DIR__));
        }
 
        if (is_null($db)) {