summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-09-04 04:22:47 +0000
committerAndi Gutmans <andi@php.net>2000-09-04 04:22:47 +0000
commit6bfed632c798c65a8a5e2bdd25cb45ab3caea73d (patch)
tree0c247a378a1bcd58c1efe7f4f4f97bcc4e4beccc /main/SAPI.c
parent07cfd5754e9b87ed835d3c98f39d24ce3e4ad32a (diff)
downloadphp-git-6bfed632c798c65a8a5e2bdd25cb45ab3caea73d.tar.gz
- This shouldn't have been commited.
There are quite a few modules which are using VIRTUAL_DIR. I don't think this should be happening.
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 51956b94d8..14ddf856c5 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -85,7 +85,7 @@ SAPI_API void sapi_startup(sapi_module_struct *sf)
sapi_globals_ctor(&sapi_globals);
#endif
-#ifdef ZTS
+#ifdef VIRTUAL_DIR
virtual_cwd_startup(); /* Could use shutdown to free the main cwd but it would just slow it down for CGI */
#endif
@@ -97,7 +97,7 @@ SAPI_API void sapi_startup(sapi_module_struct *sf)
SAPI_API void sapi_shutdown(void)
{
reentrancy_shutdown();
-#ifdef ZTS
+#ifdef VIRTUAL_DIR
virtual_cwd_shutdown();
#endif
php_global_shutdown_internal_extensions();