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:
parent
2503660f97
commit
5fdff3d813
2 changed files with 184 additions and 63 deletions
|
@ -76,8 +76,6 @@ if (!$a->mode == App::MODE_INSTALL) {
|
|||
Session::init();
|
||||
Addon::loadHooks();
|
||||
Addon::callHooks('init_1');
|
||||
|
||||
$a->checkMaintenanceMode();
|
||||
}
|
||||
|
||||
$lang = L10n::getBrowserLanguage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue