1
1
Fork 0

Ensure BaseObject::setApp() whenever App is instantiated

This commit is contained in:
Hypolite Petovan 2018-03-07 12:34:47 -05:00
commit 354bec58c0
7 changed files with 16 additions and 9 deletions

View file

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