From: Andi Gutmans Date: Mon, 26 Apr 1999 03:03:36 +0000 (+0000) Subject: -More X-Git-Tag: BEFORE_PHP4_APACHE_MODULE_CHANGE~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c51acdc175e90927b5a5a22a0c0e06ef66bd461;p=php -More --- diff --git a/main/main.c b/main/main.c index 7ac337bd33..236209a41c 100644 --- a/main/main.c +++ b/main/main.c @@ -111,7 +111,7 @@ void *gLock; /*mutex variable */ HashTable configuration_hash; char *php3_ini_path = NULL; #ifdef ZTS -php_core_globals *main_core_globals; +php_core_globals *main_core_globals=NULL; #endif @@ -784,7 +784,9 @@ static void php3_config_ini_shutdown() #ifdef ZTS static core_globals_ctor(php_core_globals *core_globals) { + if (main_core_globals) { *core_globals = *main_core_globals; + } } #endif