diff options
author | Marcus Boerger <helly@php.net> | 2003-04-19 13:54:01 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-04-19 13:54:01 +0000 |
commit | 0bcfdd02627b6f4de87f2bada573c4606987e435 (patch) | |
tree | 7325611c42c74064a9af4185be15f62a72a34676 /sapi/cli/php_cli.c | |
parent | e17b8b4b122eff9d48bb92e9765a7b708cc942c7 (diff) | |
download | php-git-0bcfdd02627b6f4de87f2bada573c4606987e435.tar.gz |
Do init CG(in_compilation) here until someone finds a better place
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 2c2b786fbc..4f6cd97bbc 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -608,6 +608,7 @@ int main(int argc, char *argv[]) /*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 */ + CG(in_compilation) = 0; /* not initialized but needed for several options */ if (cli_sapi_module.php_ini_path_override && cli_sapi_module.php_ini_ignore) { SG(headers_sent) = 1; |