X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=f59b15d1dbcaac331781d5daa33ce65c9750a74b;hb=073695b33c5f9c5d89d91958b09259c59e12dd98;hp=400ea15b195c899ae68ee1fcc8c0ffe2d2a16451;hpb=f12cc9648ecf2bdd0e468e29be4164a844b96a46;p=friendica.git diff --git a/src/App.php b/src/App.php index 400ea15b19..f59b15d1db 100644 --- a/src/App.php +++ b/src/App.php @@ -705,7 +705,8 @@ class App // Initialize module that can set the current theme in the init() method, either directly or via App->setProfileOwner $page['page_title'] = $moduleName; - if (!$this->mode->isInstall() && !$this->mode->has(App\Mode::MAINTENANCEDISABLED)) { + // The "view" module is required to show the theme CSS + if (!$this->mode->isInstall() && !$this->mode->has(App\Mode::MAINTENANCEDISABLED) && $moduleName !== 'view') { $module = $router->getModule(Maintenance::class); } else { // determine the module class and save it to the module instance