]> granicus.if.org Git - php/commitdiff
sync with 5_3
authorAntony Dovgal <tony2001@php.net>
Fri, 21 Mar 2008 12:07:14 +0000 (12:07 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 21 Mar 2008 12:07:14 +0000 (12:07 +0000)
TSRM/tsrm_virtual_cwd.c

index 8ad24bde6079664dd4968bbfe340d56eed937ac1..1de5723a717aec44e51179757b85e47463da4949 100644 (file)
@@ -534,7 +534,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;