mirror of
https://github.com/mrclay/minify.git
synced 2025-08-22 21:52:58 +02:00
Formatting.
This commit is contained in:
@@ -92,7 +92,7 @@ class Minify_YUICompressor {
|
|||||||
file_put_contents($tmpFile, $content);
|
file_put_contents($tmpFile, $content);
|
||||||
exec(self::_getCmd($options, $type, $tmpFile), $output, $result_code);
|
exec(self::_getCmd($options, $type, $tmpFile), $output, $result_code);
|
||||||
unlink($tmpFile);
|
unlink($tmpFile);
|
||||||
if($result_code != 0){
|
if ($result_code != 0) {
|
||||||
throw new Exception('Minify_YUICompressor : YUI compressor execution failed.');
|
throw new Exception('Minify_YUICompressor : YUI compressor execution failed.');
|
||||||
}
|
}
|
||||||
return implode("\n", $output);
|
return implode("\n", $output);
|
||||||
|
Reference in New Issue
Block a user