X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=f59b15d1dbcaac331781d5daa33ce65c9750a74b;hb=ce38e63399aa41b87836dea85f13e3c0491ef5e3;hp=400ea15b195c899ae68ee1fcc8c0ffe2d2a16451;hpb=3c70d592f642267b0397a429e83bec7b76eb1dd8;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