blob: 12744ba4834644b420f99306bc381ea5af64d5f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- main/SAPI.c.orig Fri Apr 15 10:31:02 2005
+++ main/SAPI.c Fri Apr 15 10:34:11 2005
@@ -569,7 +569,7 @@
ptr++;
len--;
}
-#if HAVE_ZLIB
+#if 1
if(!strncmp(ptr, "image/", sizeof("image/")-1)) {
zend_alter_ini_entry("zlib.output_compression", sizeof("zlib.output_compression"), "0", sizeof("0") - 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
}
@@ -716,7 +716,7 @@
return SUCCESS;
}
-#if HAVE_ZLIB
+#if 1
/* Add output compression headers at this late stage in order to make
it possible to switch it off inside the script. */
|