1
0
Fork 0

Centralize startup steps in Friendica\App

- Add loadDatabase startup step
- Add loadConfigFiles startup step
- Remove startup() in boot.php
- Replace App::checkMaintenanceMode() with App::determineMode()
This commit is contained in:
Hypolite Petovan 2018-06-25 20:38:41 -04:00
commit 5fdff3d813
2 changed files with 184 additions and 63 deletions

View file

@ -76,8 +76,6 @@ if (!$a->mode == App::MODE_INSTALL) {
Session::init();
Addon::loadHooks();
Addon::callHooks('init_1');
$a->checkMaintenanceMode();
}
$lang = L10n::getBrowserLanguage();