diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-02-20 09:28:30 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2023-02-20 09:28:30 +0100 |
commit | 4cebfa95e68e95afd9f6c038ded32e68b7db1cd2 (patch) | |
tree | 718a370b9de5b5b9c890f8c8015a2ad05890f757 /lib | |
parent | f3d3dfa075ced44622b5a84387d95281def3b5a3 (diff) | |
download | nextcloud-server-4cebfa95e68e95afd9f6c038ded32e68b7db1cd2.tar.gz nextcloud-server-4cebfa95e68e95afd9f6c038ded32e68b7db1cd2.zip |
fix: Fix loading styles from core/css/
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Template/CSSResourceLocator.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Template/CSSResourceLocator.php b/lib/private/Template/CSSResourceLocator.php index 5047b3e906f..4ebe054ca7b 100644 --- a/lib/private/Template/CSSResourceLocator.php +++ b/lib/private/Template/CSSResourceLocator.php @@ -43,8 +43,7 @@ class CSSResourceLocator extends ResourceLocator { */ public function doFind($style) { $app = substr($style, 0, strpos($style, '/')); - if (strpos($style, '3rdparty') === 0 - && $this->appendIfExist($this->serverroot, $style.'.css') + if ($this->appendIfExist($this->serverroot, $style.'.css') || $this->appendIfExist($this->serverroot, 'core/'.$style.'.css') ) { return; |