diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-11-08 13:36:35 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-01-06 09:42:13 +0100 |
commit | 31f75e50b67050c09368805ef911569bcaceeeeb (patch) | |
tree | 939a533a6974bc49a0e3060d162c197ddc0aa13a /lib/private/Template/CSSResourceLocator.php | |
parent | 460ef39b18222dab5452b3dd50a6753060ba3de1 (diff) | |
download | nextcloud-server-31f75e50b67050c09368805ef911569bcaceeeeb.tar.gz nextcloud-server-31f75e50b67050c09368805ef911569bcaceeeeb.zip |
Cache and compile base
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Template/CSSResourceLocator.php')
-rwxr-xr-x[-rw-r--r--] | lib/private/Template/CSSResourceLocator.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Template/CSSResourceLocator.php b/lib/private/Template/CSSResourceLocator.php index ffeaf765ff5..353555a6811 100644..100755 --- a/lib/private/Template/CSSResourceLocator.php +++ b/lib/private/Template/CSSResourceLocator.php @@ -32,6 +32,8 @@ class CSSResourceLocator extends ResourceLocator { public function doFind($style) { if (strpos($style, '3rdparty') === 0 && $this->appendIfExist($this->thirdpartyroot, $style.'.css') + || $this->cacheAndAppendScssIfExist($this->serverroot, $style.'.scss') + || $this->cacheAndAppendScssIfExist($this->serverroot, 'core/'.$style.'.scss') || $this->appendIfExist($this->serverroot, $style.'.css') || $this->appendIfExist($this->serverroot, 'core/'.$style.'.css') ) { |