]> source.dussan.org Git - nextcloud-server.git/commitdiff
Appdata var fix 3197/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 24 Jan 2017 16:46:20 +0000 (17:46 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 24 Jan 2017 16:46:20 +0000 (17:46 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
lib/private/Template/CSSResourceLocator.php

index 02a7ab7e10e99ce230fbfc9f60733d13a668366f..b306e078cd2308ba470f64c82d873ad944c58ecc 100644 (file)
@@ -62,7 +62,7 @@ class CSSResourceLocator extends ResourceLocator {
                $style = substr($style, strpos($style, '/')+1);
                $app_path = \OC_App::getAppPath($app);
                $app_url = \OC_App::getAppWebPath($app);
-               if(!$this->cacheAndAppendScssIfExist($this->serverroot.'/apps', $app.'/'.$style.'.scss', $app)) {
+               if(!$this->cacheAndAppendScssIfExist($app_path, $style.'.scss', $app)) {
                        $this->append($app_path, $style.'.css', $app_url);
                }
        }