diff options
| author | Andi Gutmans <andi@php.net> | 1999-04-26 03:03:36 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 1999-04-26 03:03:36 +0000 |
| commit | 9c51acdc175e90927b5a5a22a0c0e06ef66bd461 (patch) | |
| tree | c511a527061f831c03c55945e93c55c326f1eaec | |
| parent | 5c09d8e616e84f999685dbae940e31a569b8f1eb (diff) | |
| download | php-git-9c51acdc175e90927b5a5a22a0c0e06ef66bd461.tar.gz | |
-More
| -rw-r--r-- | main/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
