]> granicus.if.org Git - php/commitdiff
- This shouldn't have been commited.
authorAndi Gutmans <andi@php.net>
Mon, 4 Sep 2000 04:22:47 +0000 (04:22 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 4 Sep 2000 04:22:47 +0000 (04:22 +0000)
  There are quite a few modules which are using VIRTUAL_DIR. I don't think
  this should be happening.

main/SAPI.c

index 51956b94d873333e2eca1488d185b4b464da1a7c..14ddf856c582d0a17ed6abe296f55fe9a1fdd2eb 100644 (file)
@@ -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();