]> git.mxchange.org Git - friendica.git/blobdiff - include/shadowupdate.php
fixed parser error, need parentheses
[friendica.git] / include / shadowupdate.php
index 5b0a1b94b0af3f9b530a36db860163d576f71667..756f220ec823d67a4265738b2b624fb6baec6d34 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
-use \Friendica\Core\Config;
+use Friendica\App;
+use Friendica\Core\Config;
 
 require_once("boot.php");
 require_once("include/threads.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)) {