diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist index 2285dc731..2704113d3 100644 --- a/.phpcs.xml.dist +++ b/.phpcs.xml.dist @@ -60,6 +60,7 @@ + diff --git a/app/bootstrap.php b/app/bootstrap.php index d6461db07..3e63e554b 100644 --- a/app/bootstrap.php +++ b/app/bootstrap.php @@ -1,5 +1,11 @@ ! empty( $disabled_functions ) ? $disabled_functions : '', ]; + // try to set it before checking, since we try to set it in /app/bootstrap.php + @ini_set( 'zlib.output_compression', false ); + $zlib_compression = ini_get( 'zlib.output_compression' ); $row = [ 'name' => 'zlib.output_compression is off',