]> git.mxchange.org Git - friendica.git/blobdiff - include/cli_startup.php
Bugfix for pictures that weren't stored / reworked database calls
[friendica.git] / include / cli_startup.php
index 5f0c37bdb345321bcc119184a03a045d2666988c..01ee90f421b538a9e3231e57c67e7f8f38087965 100644 (file)
@@ -1,5 +1,6 @@
 <?php /** @file */
 
+use Friendica\App;
 use Friendica\Core\Config;
 
 require_once('boot.php');
@@ -11,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)) {