Selaa lähdekoodia

Disable gzip compression of the phar

Jordi Boggiano 13 vuotta sitten
vanhempi
commit
6905e3a7ae
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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);