]> git.mxchange.org Git - friendica.git/blobdiff - include/shadowupdate.php
Add basepath to App
[friendica.git] / include / shadowupdate.php
index f1888f92e5da4dc68942aefc34fca0d56406e32a..756f220ec823d67a4265738b2b624fb6baec6d34 100644 (file)
@@ -10,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)) {