]> git.mxchange.org Git - friendica.git/blobdiff - include/cli_startup.php
It is better this way
[friendica.git] / include / cli_startup.php
index e8cc9483dbc35311f2dddb12ed6e4f1f2c414881..01ee90f421b538a9e3231e57c67e7f8f38087965 100644 (file)
@@ -12,7 +12,7 @@ function cli_startup() {
        global $a, $db;
 
        if (is_null($a)) {
-               $a = new App;
+               $a = new App(dirname(__DIR__));
        }
 
        if (is_null($db)) {