]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix SCSS processing when undoing theming values 7770/head
authorJulius Härtl <jus@bitgrid.net>
Tue, 9 Jan 2018 13:18:03 +0000 (14:18 +0100)
committerJulius Härtl <jus@bitgrid.net>
Wed, 10 Jan 2018 09:25:13 +0000 (10:25 +0100)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/theming/lib/Controller/ThemingController.php

index f8926661c226acbc8d285f71ae2716210e203028..ad12e754e795b66db2a52ff22292a8d4458ea69c 100644 (file)
@@ -285,7 +285,7 @@ class ThemingController extends Controller {
        public function undo($setting) {
                $value = $this->themingDefaults->undo($setting);
                // reprocess server scss for preview
-               $cssCached = $this->scssCacher->process(\OC::$SERVERROOT, '/core/css/server.scss', 'core');
+               $cssCached = $this->scssCacher->process(\OC::$SERVERROOT, 'core/css/server.scss', 'core');
 
                if($setting === 'logoMime') {
                        try {