mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
- 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.
This commit is contained in:
parent
07cfd5754e
commit
6bfed632c7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user