summaryrefslogtreecommitdiff
path: root/cgi_main.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>1999-05-10 20:41:42 +0000
committerAndrey Hristov <andrey@php.net>1999-05-10 20:41:42 +0000
commitea0f19850e26477918736c617d51e624928f9d00 (patch)
tree9f3f40931f5b856ac7041f71473a4a4397be635b /cgi_main.c
parent928e322038d9b7944c8e3d2a710fe3ac9975bde4 (diff)
downloadphp-git-ea0f19850e26477918736c617d51e624928f9d00.tar.gz
A couple of fixes.
Diffstat (limited to 'cgi_main.c')
-rw-r--r--cgi_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgi_main.c b/cgi_main.c
index a7c01c7f07..a73b427e01 100644
--- a/cgi_main.c
+++ b/cgi_main.c
@@ -436,7 +436,9 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
php3_header(); /* Make sure headers have been sent */
php_request_shutdown((void *) 0);
php_module_shutdown();
+#ifdef ZTS
tsrm_shutdown();
+#endif
return SUCCESS;
}