Page MenuHomeIn-Portal Phabricator

D298.diff
No OneTemporary

File Metadata

Created
Sun, Feb 23, 9:51 PM

D298.diff

Index: branches/5.2.x/core/units/helpers/minifiers/minify_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/minifiers/minify_helper.php
+++ branches/5.2.x/core/units/helpers/minifiers/minify_helper.php
@@ -231,7 +231,7 @@
$tmp_file = tempnam('/tmp', 'to_compress_');
file_put_contents($tmp_file, $string);
- $command = 'java -jar ' . dirname(__FILE__) . DIRECTORY_SEPARATOR . 'yuicompressor-2.4.2.jar --type ' . $extension . ' --charset utf-8 ' . $tmp_file;
+ $command = 'java -jar ' . dirname(__FILE__) . DIRECTORY_SEPARATOR . 'yuicompressor-2.4.8.jar --type ' . $extension . ' --charset utf-8 ' . $tmp_file;
$string = shell_exec($command);
unlink($tmp_file);

Event Timeline