Skip to content
Extraits de code Groupes Projets
Valider 336932b2 rédigé par Fil's avatar Fil
Parcourir les fichiers

bug compression apache2.x / php4.y

(si quelqu'un retrouve les versions exactes qui plantent, on affinera)
parent ea9e9e3b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -407,13 +407,16 @@ if ($auto_compress && $flag_obgz) { ...@@ -407,13 +407,16 @@ if ($auto_compress && $flag_obgz) {
$use_gz = false; $use_gz = false;
// special bug de proxy // special bug de proxy
if (eregi("NetCache|Hasd_proxy", $HTTP_VIA)) { if (eregi("NetCache|Hasd_proxy", $HTTP_VIA))
$use_gz = false; $use_gz = false;
}
// special bug Netscape Win 4.0x // special bug Netscape Win 4.0x
if (eregi("Mozilla/4\.0[^ ].*Win", $HTTP_USER_AGENT)) { if (eregi("Mozilla/4\.0[^ ].*Win", $HTTP_USER_AGENT))
$use_gz = false;
// special bug Apache2x + php4.2.x (versions a preciser eventuellement si on retrouve)
if (eregi("Apache/2", $SERVER_SOFTWARE))
$use_gz = false; $use_gz = false;
}
if ($use_gz) { if ($use_gz) {
@ob_start("ob_gzhandler"); @ob_start("ob_gzhandler");
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter