diff options
| author | Andi Gutmans <andi@php.net> | 2004-10-05 00:42:25 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2004-10-05 00:42:25 +0000 |
| commit | 216853c0dbd0fb46f25b2570bb575ff9df003c1c (patch) | |
| tree | 8094084c61a33f6ec4db88484b2ffc665861513a /main/SAPI.c | |
| parent | 01fda447c5ad0a233a74595d92de0f9822c32cac (diff) | |
| download | php-git-216853c0dbd0fb46f25b2570bb575ff9df003c1c.tar.gz | |
- Apply realpath() cache patch. We don't use it if we're in safe_mode and
- friends (which are quite slow anyway).
- If it proves to be stable I'll remove the #ifdef's in a few weeks.
Diffstat (limited to 'main/SAPI.c')
| -rw-r--r-- | main/SAPI.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 34e104cea6..5c1dfe4373 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -79,9 +79,7 @@ SAPI_API void sapi_startup(sapi_module_struct *sf) sapi_globals_ctor(&sapi_globals TSRMLS_CC); #endif -#ifdef VIRTUAL_DIR virtual_cwd_startup(); /* Could use shutdown to free the main cwd but it would just slow it down for CGI */ -#endif #ifdef PHP_WIN32 tsrm_win32_startup(); @@ -93,9 +91,8 @@ SAPI_API void sapi_startup(sapi_module_struct *sf) SAPI_API void sapi_shutdown(void) { reentrancy_shutdown(); -#ifdef VIRTUAL_DIR + virtual_cwd_shutdown(); -#endif #ifdef PHP_WIN32 tsrm_win32_shutdown(); |
