mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix: Fix loading styles from core/css/
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
f3d3dfa075
commit
4cebfa95e6
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue