1
0
Fork 0

Enable the view module in maintenance mode

- This allows to load the default theme CSS
- Theme scripts have been updated to reflect the possibility they will be included in maintenance mode
This commit is contained in:
Hypolite Petovan 2022-07-12 19:48:36 -04:00
commit 1d94e2866a
10 changed files with 177 additions and 141 deletions

View file

@ -14,6 +14,10 @@ use Friendica\App;
use Friendica\Core\Renderer;
use Friendica\DI;
/*
* This script can be included even when the app is in maintenance mode which requires us to avoid any config call
*/
function smoothly_init(App $a) {
Renderer::setActiveTemplateEngine('smarty3');