浏览代码

Disable gzip compression of the phar

Jordi Boggiano 13 年之前
父节点
当前提交
6905e3a7ae
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/Composer/Compiler.php

+ 2 - 1
src/Composer/Compiler.php

@@ -79,7 +79,8 @@ class Compiler
 
 
         $phar->stopBuffering();
         $phar->stopBuffering();
 
 
-        $phar->compressFiles(\Phar::GZ);
+        // disabled for interoperability with systems without gzip ext
+        // $phar->compressFiles(\Phar::GZ);
 
 
         $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../LICENSE'), false);
         $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../LICENSE'), false);