mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
Avoid undefined class variables
This commit is contained in:
parent
a29b7e7153
commit
225eea2ca6
10 changed files with 25 additions and 9 deletions
|
@ -10,7 +10,7 @@ require_once('boot.php');
|
|||
function cli_startup() {
|
||||
global $a;
|
||||
|
||||
if (is_null($a)) {
|
||||
if (empty($a)) {
|
||||
$a = new App(dirname(__DIR__));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue