Merge pull request #16813 from compagnon/fix/noid/AutoloadNotAllowedException-theming-off
autoloader.php could raise Not AllowedException
This commit is contained in:
commit
9ac15bc4e9
|
@ -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