Add basepath to App

This commit is contained in:
Hypolite Petovan 2017-05-02 22:42:42 -04:00
parent 3437e73ae4
commit 569cd459ec
10 changed files with 49 additions and 28 deletions

View file

@ -19,7 +19,7 @@ use Friendica\Core\Config;
require_once 'boot.php';
require_once 'object/BaseObject.php';
$a = new App;
$a = new App(__DIR__);
BaseObject::set_app($a);
// We assume that the index.php is called by a frontend process