Beispiel #1
0
 public static function url($file)
 {
     if (!\SYSTEM\CACHE\cache_scss::get($file->SERVERPATH())) {
         \LIB\lib_scssphp::php();
         \SYSTEM\CACHE\cache_scss::put($file->SERVERPATH(), (new \Leafo\ScssPhp\Compiler())->compile(file_get_contents($file->SERVERPATH())));
     }
     return './api.php?call=cache&id=' . self::CACHE_SCSS . '&ident=' . self::ident($file->SERVERPATH());
 }