summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2004-03-24 13:31:34 +0000
committerStanislav Malyshev <stas@php.net>2004-03-24 13:31:34 +0000
commitb514ab2ee98638d9f834780a42359a7ef6950bb9 (patch)
tree0f60a6c5043a4e0e7c146d83125b712bb2589d59 /main/main.c
parent2face60bef64ac8fa0f7df527450daa60c8ae5aa (diff)
downloadphp-git-b514ab2ee98638d9f834780a42359a7ef6950bb9.tar.gz
reset module shutdown flag on startup
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index 8ce1a33c69..eded6ad6e9 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1314,6 +1314,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
tsrm_ls = ts_resource(0);
#endif
+ module_shutdown = 0;
sapi_initialize_empty_request(TSRMLS_C);
sapi_activate(TSRMLS_C);