cvs: php4 /sapi/cli php_cli.c

From: Date: Wed, 19 Mar 2003 20:36:04 +0000
Subject: cvs: php4 /sapi/cli php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19693@lists.php.net to get a copy of this message
helly Wed Mar 19 15:36:04 2003 EDT Modified files: /php4/sapi/cli php_cli.c Log: - reenable $argc/$argv - add a comment where hardcoded defaults would go # i believe we have none for now though Index: php4/sapi/cli/php_cli.c diff -u php4/sapi/cli/php_cli.c:1.73 php4/sapi/cli/php_cli.c:1.74 --- php4/sapi/cli/php_cli.c:1.73 Tue Mar 18 15:52:52 2003 +++ php4/sapi/cli/php_cli.c Wed Mar 19 15:36:04 2003 @@ -600,6 +600,8 @@ /* Set some CLI defaults */ SG(options) |= SAPI_OPTION_NO_CHDIR; + /* here is the place for hard coded defaults which cannot be overwritten in the ini file */ + /*zend_alter_ini_entry("<name>", len, "<value>", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);*/ zend_uv.html_errors = 0; /* tell the engine we're in non-html mode */ @@ -894,6 +896,7 @@ } /* This actually destructs the elements of the list - ugly hack */ + zend_is_auto_global("_SERVER", sizeof("_SERVER")-1 TSRMLS_CC); zend_llist_apply(&global_vars, (llist_apply_func_t) php_register_command_line_global_vars TSRMLS_CC); zend_llist_destroy(&global_vars);

« previous php.cvs (#19693) next »