Jelajahi Sumber

Disable gzip compression of the phar

Jordi Boggiano 13 tahun lalu
induk
melakukan
6905e3a7ae
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      src/Composer/Compiler.php

+ 2 - 1
src/Composer/Compiler.php

@@ -79,7 +79,8 @@ class Compiler
 
         $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);