diff --git a/index.php b/index.php index 24ad8a1..717150d 100644 --- a/index.php +++ b/index.php @@ -100,7 +100,7 @@ if(class_exists('Page')){ compile(file_get_contents($file)); + echo $scss->compileString(file_get_contents($file))->getCss(); ?> /* MAIN.SCSS – END */ diff --git a/system/pages/play.php b/system/pages/play.php index 514678d..4087981 100644 --- a/system/pages/play.php +++ b/system/pages/play.php @@ -9,7 +9,7 @@ class Page { public function style() { $scss = new ScssPhp\ScssPhp\Compiler(); $file = __DIR__."/../../assets/css/player.scss"; - echo $scss->compile(file_get_contents($file)); + echo $scss->compileString(file_get_contents($file))->getCss(); echo ' main section#player audio::-webkit-media-controls { diff --git a/system/pages/watch.php b/system/pages/watch.php index a56db21..7b7e4ad 100644 --- a/system/pages/watch.php +++ b/system/pages/watch.php @@ -14,7 +14,7 @@ class Page { public function style() { $scss = new ScssPhp\ScssPhp\Compiler(); $file = __DIR__."/../../assets/css/player.scss"; - echo $scss->compile(file_get_contents($file)); + echo $scss->compileString(file_get_contents($file))->getCss(); echo " main {