summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@php.net>2002-09-02 20:44:01 +0000
committerJan Lehnardt <jan@php.net>2002-09-02 20:44:01 +0000
commit298ae37e8c255768e502122966898d2edaf30817 (patch)
tree4002551e584d2a8206b104149f4382174d92e27c
parentf07b724620f902260bc6b1f063522f78a162cce5 (diff)
downloadphp-git-298ae37e8c255768e502122966898d2edaf30817.tar.gz
- prepare non-html phpinfo output for zend extensions
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 59ecebd01d..cf7ef0725d 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -459,6 +459,8 @@ int main(int argc, char *argv[])
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) {