1
1
Fork 0

Avoid undefined class variables

This commit is contained in:
Michael 2017-10-11 14:52:08 +00:00
commit 225eea2ca6
10 changed files with 25 additions and 9 deletions

View file

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