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

ob_get_contents() sur windows donne STRING(0) ""

(Jacques)
parent fae7a8bb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -671,7 +671,7 @@ function test_obgz () { ...@@ -671,7 +671,7 @@ function test_obgz () {
} }
// si un buffer est deja ouvert, stop // si un buffer est deja ouvert, stop
if ($flag_ob AND ob_get_contents()===false AND !headers_sent()) { if ($flag_ob AND strlen(ob_get_contents())==0 AND !headers_sent()) {
@header("Vary: Cookie, Accept-Encoding"); @header("Vary: Cookie, Accept-Encoding");
if (test_obgz()) { if (test_obgz()) {
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.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter