Ensure BaseObject::setApp() whenever App is instantiated
This commit is contained in:
parent
87f2d18554
commit
354bec58c0
7 changed files with 16 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue