Browse Source
Load guest css on any guest and error page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/8155/head
Julius Härtl
8 years ago
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with
3 additions and
1 deletions
-
lib/private/TemplateLayout.php
|
|
|
@ -178,7 +178,9 @@ class TemplateLayout extends \OC_Template { |
|
|
|
if(\OC::$server->getSystemConfig()->getValue('installed', false) |
|
|
|
&& !\OCP\Util::needUpgrade() |
|
|
|
&& $pathInfo !== '' |
|
|
|
&& !preg_match('/^\/login/', $pathInfo)) { |
|
|
|
&& !preg_match('/^\/login/', $pathInfo) |
|
|
|
&& $renderAs !== 'error' && $renderAs !== 'guest' |
|
|
|
) { |
|
|
|
$cssFiles = self::findStylesheetFiles(\OC_Util::$styles); |
|
|
|
} else { |
|
|
|
// If we ignore the scss compiler,
|
|
|
|
|