From: Jan Lehnardt Date: Mon, 2 Sep 2002 20:44:01 +0000 (+0000) Subject: - prepare non-html phpinfo output for zend extensions X-Git-Tag: RELEASE_0_91~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=298ae37e8c255768e502122966898d2edaf30817;p=php - prepare non-html phpinfo output for zend extensions --- 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) {