diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2007-05-25 22:53:34 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2007-05-25 22:53:34 +0000 |
commit | 227fd7aa1facca6a3fd5612e19e78a59fb2a14bf (patch) | |
tree | d62e2c502ac6c66ca53d2674bd747ca7537abbec /TSRM | |
parent | f00ea3c023ae41f4c75aa7f18084e7fca84c076f (diff) | |
download | php-git-227fd7aa1facca6a3fd5612e19e78a59fb2a14bf.tar.gz |
Remove simple optimization here for now until we clean up this SAPI/TSRM
mess.
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index a7d1d59722..e21dc85d06 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -31,7 +31,6 @@ #include "tsrm_virtual_cwd.h" #include "tsrm_strtok_r.h" -#include "SAPI.h" #ifdef TSRM_WIN32 #include <io.h> @@ -519,7 +518,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func } if (use_cache) { - t = CWDG(realpath_cache_ttl)?sapi_get_request_time(TSRMLS_C):0; + t = CWDG(realpath_cache_ttl)?time(0):0; if ((bucket = realpath_cache_find(path, path_length, t TSRMLS_CC)) != NULL) { int len = bucket->realpath_len; |