cvs: php4 /sapi/cli php_cli.c
| From: | Jan Lehnardt | Date: | Mon, 02 Sep 2002 20:44:02 +0000 |
| Subject: | cvs: php4 /sapi/cli php_cli.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13792@lists.php.net to get a copy of this message | ||
jan Mon Sep 2 16:44:02 2002 EDT
Modified files:
/php4/sapi/cli php_cli.c
Log:
- prepare non-html phpinfo output for zend extensions
Index: php4/sapi/cli/php_cli.c
diff -u php4/sapi/cli/php_cli.c:1.31 php4/sapi/cli/php_cli.c:1.32
--- php4/sapi/cli/php_cli.c:1.31 Sat Aug 10 18:42:38 2002
+++ php4/sapi/cli/php_cli.c Mon Sep 2 16:44:01 2002
@@ -459,6 +459,8 @@
zend_alter_ini_entry("implicit_flush", 15, "1", 1, PHP_INI_SYSTEM,
PHP_INI_STAGE_ACTIVATE);
zend_alter_ini_entry("max_execution_time", 19, "0", 1, PHP_INI_SYSTEM,
PHP_INI_STAGE_ACTIVATE);
+ zend_uv.html_errors = 0; /* tell the engine we're in non-html mode */
+
while ((c = ap_php_getopt(argc, argv, OPTSTRING)) != -1) {
switch (c) {