diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-23 21:49:20 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-23 21:49:20 -0700 |
commit | a2e101997836ebd904e94aa896a1bcc2e2c70f01 (patch) | |
tree | 76daffc0d41801dc825ffba6538d6c5022e4c311 /Zotlabs/Web/WebServer.php | |
parent | e98938d03dbdd94c33419924a50e4b6fbeb6fe1c (diff) | |
download | volse-hubzilla-a2e101997836ebd904e94aa896a1bcc2e2c70f01.tar.gz volse-hubzilla-a2e101997836ebd904e94aa896a1bcc2e2c70f01.tar.bz2 volse-hubzilla-a2e101997836ebd904e94aa896a1bcc2e2c70f01.zip |
move db_upgrade to zlib
Diffstat (limited to 'Zotlabs/Web/WebServer.php')
-rw-r--r-- | Zotlabs/Web/WebServer.php | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Zotlabs/Web/WebServer.php b/Zotlabs/Web/WebServer.php index 5bb0e08e8..9c9f0483a 100644 --- a/Zotlabs/Web/WebServer.php +++ b/Zotlabs/Web/WebServer.php @@ -79,11 +79,6 @@ class WebServer { if(! x($_SESSION, 'sysmsg_info')) $_SESSION['sysmsg_info'] = array(); - /* - * check_config() is responsible for running update scripts. These automatically - * update the DB schema whenever we push a new one out. It also checks to see if - * any plugins have been added or removed and reacts accordingly. - */ if(\App::$install) { @@ -91,8 +86,16 @@ class WebServer { if(\App::$module != 'view') \App::$module = 'setup'; } - else - check_config($a); + else { + + /* + * check_config() is responsible for running update scripts. These automatically + * update the DB schema whenever we push a new one out. It also checks to see if + * any plugins have been added or removed and reacts accordingly. + */ + + check_config(); + } nav_set_selected('nothing'); |