aboutsummaryrefslogtreecommitdiffstats
path: root/include/cli_startup.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-31 20:24:30 -0700
committerredmatrix <git@macgirvin.com>2016-03-31 20:24:30 -0700
commit44283dbbbb30d434f1153df7e09b62f54b22887d (patch)
tree509b0750614401a1a7c757cb6b160616aeb77bfe /include/cli_startup.php
parent0cda43145629586e6110e83fa2356e1c4ee4811a (diff)
downloadvolse-hubzilla-44283dbbbb30d434f1153df7e09b62f54b22887d.tar.gz
volse-hubzilla-44283dbbbb30d434f1153df7e09b62f54b22887d.tar.bz2
volse-hubzilla-44283dbbbb30d434f1153df7e09b62f54b22887d.zip
change the App constructor
Diffstat (limited to 'include/cli_startup.php')
-rw-r--r--include/cli_startup.php5
1 files changed, 1 insertions, 4 deletions
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");