mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
autoloader.php could raise Not AllowedException
when theming is off Signed-off-by: Guillaume Compagnon <gcompagnon@outlook.com> modified: lib/private/TemplateLayout.php
This commit is contained in:
parent
650e4f9f4c
commit
0516675a5c
1 changed files with 2 additions and 0 deletions
|
|
@ -113,6 +113,8 @@ class TemplateLayout extends \OC_Template {
|
|||
$this->assign('themingInvertMenu', $util->invertTextColor(\OC::$server->getThemingDefaults()->getColorPrimary()));
|
||||
} catch (\OCP\AppFramework\QueryException $e) {
|
||||
$this->assign('themingInvertMenu', false);
|
||||
} catch (\OCP\AutoloadNotAllowedException $e) {
|
||||
$this->assign('themingInvertMenu', false);
|
||||
}
|
||||
|
||||
} else if ($renderAs === 'error') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue