change the App constructor

This commit is contained in:
redmatrix
2016-03-31 20:24:30 -07:00
parent 0cda431456
commit 44283dbbbb
3 changed files with 3 additions and 6 deletions

View File

@@ -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");