uawdijnntqw1x1x1
IP : 3.147.28.9
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,parse_ini_file,show_source,eval,open_base,symlink
OS : Linux
PATH:
/
home
/
sudancam
/
.
/
.trash
/
related-posts-by-zemanta.1
/
static
/
..
/
..
/
admin.1
/
controller
/
startup
/
sass.php
/
/
<?php namespace Opencart\Admin\Controller\Startup; class Sass extends \Opencart\System\Engine\Controller { public function index(): void { $files = glob(DIR_APPLICATION . 'view/stylesheet/*.scss'); if ($files) { foreach ($files as $file) { // Get the filename $filename = basename($file, '.scss'); $stylesheet = DIR_APPLICATION . 'view/stylesheet/' . $filename . '.css'; if (!is_file($stylesheet) || !$this->config->get('developer_sass')) { $scss = new \ScssPhp\ScssPhp\Compiler(); $scss->setImportPaths(DIR_APPLICATION . 'view/stylesheet/'); $output = $scss->compileString('@import "' . $filename . '.scss"')->getCss(); $handle = fopen($stylesheet, 'w'); flock($handle, LOCK_EX); fwrite($handle, $output); fflush($handle); flock($handle, LOCK_UN); fclose($handle); } } } } }
/home/sudancam/./.trash/related-posts-by-zemanta.1/static/../../admin.1/controller/startup/sass.php