cvs: php4 /ext/zlib zlib.c
| From: | Derick Rethans | Date: | Tue, 18 Jun 2002 10:06:55 +0000 |
| Subject: | cvs: php4 /ext/zlib zlib.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12397@lists.php.net to get a copy of this message | ||
derick Tue Jun 18 06:06:55 2002 EDT
Modified files:
/php4/ext/zlib zlib.c
Log:
- It doesn't work from within a script... so we disallow it
Index: php4/ext/zlib/zlib.c
diff -u php4/ext/zlib/zlib.c:1.134 php4/ext/zlib/zlib.c:1.135
--- php4/ext/zlib/zlib.c:1.134 Sun Jun 2 17:35:06 2002
+++ php4/ext/zlib/zlib.c Tue Jun 18 06:06:54 2002
@@ -18,7 +18,7 @@
| Jade Nicoletti <nicoletti@nns.ch> |
+----------------------------------------------------------------------+
*/
-/* $Id: zlib.c,v 1.134 2002/06/02 21:35:06 sr Exp $ */
+/* $Id: zlib.c,v 1.135 2002/06/18 10:06:54 derick Exp $ */
#define IS_EXT_MODULE
#ifdef HAVE_CONFIG_H
@@ -161,7 +161,7 @@
PHP_INI_BEGIN()
- STD_PHP_INI_BOOLEAN("zlib.output_compression", "0", PHP_INI_ALL,
OnUpdate_zlib_output_compression, output_compression, zend_zlib_globals, zlib_globals)
+ STD_PHP_INI_BOOLEAN("zlib.output_compression", "0", PHP_INI_USER,
OnUpdate_zlib_output_compression, output_compression, zend_zlib_globals, zlib_globals)
STD_PHP_INI_ENTRY("zlib.output_compression_level", "-1", PHP_INI_ALL,
OnUpdate_zlib_output_compression_level, output_compression_level, zend_zlib_globals, zlib_globals)
PHP_INI_END()