diff options
author | Jan Lehnardt <jan@php.net> | 2002-09-02 20:44:01 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@php.net> | 2002-09-02 20:44:01 +0000 |
commit | 298ae37e8c255768e502122966898d2edaf30817 (patch) | |
tree | 4002551e584d2a8206b104149f4382174d92e27c /sapi/cli/php_cli.c | |
parent | f07b724620f902260bc6b1f063522f78a162cce5 (diff) | |
download | php-git-298ae37e8c255768e502122966898d2edaf30817.tar.gz |
- prepare non-html phpinfo output for zend extensions
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
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) { |