From 5a08816550f7885a2c4ea4a691eee9cc112f15ea Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 2 Nov 2023 20:46:41 +0100 Subject: [PATCH] fix scss support --- cache/cache_css.php | 2 +- lib/scssphp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cache/cache_css.php b/cache/cache_css.php index 5c80e57..7bb01b9 100644 --- a/cache/cache_css.php +++ b/cache/cache_css.php @@ -72,7 +72,7 @@ class cache_css { $tmp = explode(".", $path); //rediculus if(strtolower(end($tmp)) == 'scss'){ // Compile SCSS - $minifier->add($sccs->compile(file_get_contents($path))); + $minifier->add($sccs->compileString(file_get_contents($path))->getCss()); } else { // Normal CSS $minifier->add($path); diff --git a/lib/scssphp b/lib/scssphp index 3d82959..d48b252 160000 --- a/lib/scssphp +++ b/lib/scssphp @@ -1 +1 @@ -Subproject commit 3d829591ea59eb1fbc92844b88659d921484f12a +Subproject commit d48b252986b739c190ce5b569cf375cb9fd6f81c