mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
- 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:
parent
01fda447c5
commit
216853c0db
4 changed files with 174 additions and 23 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue