Avoid undefined class variables
This commit is contained in:
@@ -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__));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user