summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-08-05 16:21:33 +0000
committerSascha Schumann <sas@php.net>2001-08-05 16:21:33 +0000
commitb349df63645e48eade0481238e6ca3feb90f18fa (patch)
treed565c9fb1b058469cbbd2d248ea261c59ac6f5c4 /sapi/cgi/cgi_main.c
parent373b3e101e0394f0727e1e5855e18e15851d0919 (diff)
downloadphp-git-b349df63645e48eade0481238e6ca3feb90f18fa.tar.gz
some more eliminate-fetches-or-escalate-them-at-least
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r--sapi/cgi/cgi_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 5e09d5a694..2ab43d3239 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -563,7 +563,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
case 'i': /* php info & quit */
if (php_request_startup(TSRMLS_C)==FAILURE) {
- php_module_shutdown();
+ php_module_shutdown(TSRMLS_C);
return FAILURE;
}
if (no_headers) {
@@ -611,7 +611,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
case 'v': /* show php version & quit */
no_headers = 1;
if (php_request_startup(TSRMLS_C)==FAILURE) {
- php_module_shutdown();
+ php_module_shutdown(TSRMLS_C);
return FAILURE;
}
if (no_headers) {
@@ -668,7 +668,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
}
if (php_request_startup(TSRMLS_C)==FAILURE) {
- php_module_shutdown();
+ php_module_shutdown(TSRMLS_C);
return FAILURE;
}
if (no_headers) {
@@ -714,7 +714,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
if(!argv0 || !(file_handle.handle.fp = VCWD_FOPEN(argv0, "rb"))) {
PUTS("No input file specified.\n");
php_request_shutdown((void *) 0);
- php_module_shutdown();
+ php_module_shutdown(TSRMLS_C);
return FAILURE;
}
file_handle.filename = argv0;
@@ -782,7 +782,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
exit_status = -1;
} zend_end_try();
- php_module_shutdown();
+ php_module_shutdown(TSRMLS_C);
#ifdef ZTS
tsrm_shutdown();