From 44283dbbbb30d434f1153df7e09b62f54b22887d Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 20:24:30 -0700 Subject: change the App constructor --- include/cli_startup.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/cli_startup.php') diff --git a/include/cli_startup.php b/include/cli_startup.php index 9fcdce199..b0e4fcf10 100644 --- a/include/cli_startup.php +++ b/include/cli_startup.php @@ -12,10 +12,7 @@ function cli_startup() { $a = new miniApp; } - if(is_null($app)) { - $app = new App; - } - + App::init(); if(is_null($db)) { @include(".htconfig.php"); -- cgit v1.2.3