Re: cvs: php4 /sapi/cli php_cli.c
| From: | Shane Caraveo | Date: | Wed, 23 Oct 2002 05:48:21 +0000 |
| Subject: | Re: cvs: php4 /sapi/cli php_cli.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-15183@lists.php.net to get a copy of this message | ||
This seems to completely bypass the ini settings, seems like a bad thing to me, then again so does ini in the first place.
Shane
Yasuo Ohgaki wrote:
yohgaki Tue Oct 22 21:21:40 2002 EDTModified files: /php4/sapi/cli php_cli.c Log:Make CLI behave like other moder scripting languages. Index: php4/sapi/cli/php_cli.c diff -u php4/sapi/cli/php_cli.c:1.37 php4/sapi/cli/php_cli.c:1.38 --- php4/sapi/cli/php_cli.c:1.37 Mon Oct 14 07:59:58 2002 +++ php4/sapi/cli/php_cli.c Tue Oct 22 21:21:40 2002 @@ -466,7 +466,6 @@ SG(options) |= SAPI_OPTION_NO_CHDIR; zend_alter_ini_entry("register_argc_argv", 19, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); - 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 */