cvs: php4 /main SAPI.c
| From: | Andi Gutmans | Date: | Mon, 04 Sep 2000 04:22:48 +0000 |
| Subject: | cvs: php4 /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1539@lists.php.net to get a copy of this message | ||
andi Sun Sep 3 21:22:48 2000 EDT
Modified files:
/php4/main SAPI.c
Log:
- 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.
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.86 php4/main/SAPI.c:1.87
--- php4/main/SAPI.c:1.86 Sun Sep 3 21:18:04 2000
+++ php4/main/SAPI.c Sun Sep 3 21:22:47 2000
@@ -85,7 +85,7 @@
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_shutdown(void)
{
reentrancy_shutdown();
-#ifdef ZTS
+#ifdef VIRTUAL_DIR
virtual_cwd_shutdown();
#endif
php_global_shutdown_internal_extensions();