]> granicus.if.org Git - php/commitdiff
- prepare non-html phpinfo output for zend extensions
authorJan Lehnardt <jan@php.net>
Mon, 2 Sep 2002 20:44:01 +0000 (20:44 +0000)
committerJan Lehnardt <jan@php.net>
Mon, 2 Sep 2002 20:44:01 +0000 (20:44 +0000)
sapi/cli/php_cli.c

index 59ecebd01da2d0e8d0b2e9beec481dce2c5950b5..cf7ef0725df345bc893a002ac5a4d82e7d3f4250 100644 (file)
@@ -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) {