Skip to content

Commit 17a3cb4

Browse files
committed
Execute zend_post_startup() with module_initialized flag set.
1 parent 6d4b22c commit 17a3cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2362,12 +2362,12 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
23622362
module->info_func = PHP_MINFO(php_core);
23632363
}
23642364

2365+
module_initialized = 1;
2366+
23652367
if (zend_post_startup() != SUCCESS) {
23662368
return FAILURE;
23672369
}
23682370

2369-
module_initialized = 1;
2370-
23712371
/* Check for deprecated directives */
23722372
/* NOTE: If you add anything here, remember to add it to Makefile.global! */
23732373
{

0 commit comments

Comments
 (0)