-
-
- // where are we going to write all of this..
- // This has to be done via a
- if (true || !file_exists($compiledir.'/'.$output) || !filesize($compiledir.'/'.$output)) {
-
-
-
- require_once 'HTML/CSS/Minify.php';
- $x = new HTML_CSS_Minify(substr($relpath,0,-1), $dir, $relfiles);
-
- file_put_contents($compiledir.'/'.$output , $x->minify( $this->baseURL.'/Asset/css'));
- clearstatcache();
- if (!file_exists($compiledir.'/'.$output) ||
- !filesize($compiledir.'/'.$routput)) {
- echo "<!-- compile did not generate files : " . basename($compiledir) . "/{$output} -->\n";
- $this->assetArrayToHtml($files,'css');
- return;
- }
-
- } else {
- // echo "<!-- file already exists: {$basedir}/{$output} -->\n";
- }
- //$this->arrayToJsInclude( $files);
- $this->assetArrayToHtml( array(
- $this->baseURL.'/Asset/css/'. $output,
-
- ),'css');
-