Avoid undefined class variables
This commit is contained in:
parent
a29b7e7153
commit
225eea2ca6
10 changed files with 25 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue