- 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.
This commit is contained in:
Andi Gutmans 2004-10-05 00:42:25 +00:00
parent 01fda447c5
commit 216853c0db
4 changed files with 174 additions and 23 deletions

View file

@ -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();