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
|
@ -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 New Issue