fix scss support
This commit is contained in:
parent
3a37b44d34
commit
5a08816550
2
cache/cache_css.php
vendored
2
cache/cache_css.php
vendored
@ -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);
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 3d829591ea59eb1fbc92844b88659d921484f12a
|
||||
Subproject commit d48b252986b739c190ce5b569cf375cb9fd6f81c
|
||||
Loading…
x
Reference in New Issue
Block a user