Load guest css on any guest and error page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
39461a2e09
commit
c29bf24440
1 changed files with 3 additions and 1 deletions
|
@ -178,7 +178,9 @@ class TemplateLayout extends \OC_Template {
|
||||||
if(\OC::$server->getSystemConfig()->getValue('installed', false)
|
if(\OC::$server->getSystemConfig()->getValue('installed', false)
|
||||||
&& !\OCP\Util::needUpgrade()
|
&& !\OCP\Util::needUpgrade()
|
||||||
&& $pathInfo !== ''
|
&& $pathInfo !== ''
|
||||||
&& !preg_match('/^\/login/', $pathInfo)) {
|
&& !preg_match('/^\/login/', $pathInfo)
|
||||||
|
&& $renderAs !== 'error' && $renderAs !== 'guest'
|
||||||
|
) {
|
||||||
$cssFiles = self::findStylesheetFiles(\OC_Util::$styles);
|
$cssFiles = self::findStylesheetFiles(\OC_Util::$styles);
|
||||||
} else {
|
} else {
|
||||||
// If we ignore the scss compiler,
|
// If we ignore the scss compiler,
|
||||||
|
|
Loading…
Reference in a new issue