diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-10-29 15:25:17 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-10-29 21:38:57 +0300 |
commit | 7a5416b1c54798e630b5453242c345b22dd4967b (patch) | |
tree | af579123f274c801fdc69af2059227c33421ad90 /main | |
parent | 2491b7b65aba22836fa0cb95e58b137b96f428a9 (diff) | |
download | php-git-7a5416b1c54798e630b5453242c345b22dd4967b.tar.gz |
Execute zend_post_startup() with module_initialized flag set.
Diffstat (limited to 'main')
-rw-r--r-- | main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c index 290dba00fe..2fcd300d9a 100644 --- a/main/main.c +++ b/main/main.c @@ -2362,12 +2362,12 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod module->info_func = PHP_MINFO(php_core); } + module_initialized = 1; + if (zend_post_startup() != SUCCESS) { return FAILURE; } - module_initialized = 1; - /* Check for deprecated directives */ /* NOTE: If you add anything here, remember to add it to Makefile.global! */ { |