stat on resolved path
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@950 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.0
parent
1b6918396f
commit
fe16be2053
2
xcache.c
2
xcache.c
|
@ -1112,7 +1112,7 @@ static int xc_entry_php_resolve_opened_path(xc_compiler_t *compiler, struct stat
|
|||
strcpy(compiler->opened_path_buffer, opened_path);
|
||||
efree(opened_path);
|
||||
compiler->opened_path = compiler->opened_path_buffer;
|
||||
if (!statbuf || VCWD_STAT(compiler->filename, statbuf) == 0) {
|
||||
if (!statbuf || VCWD_STAT(compiler->opened_path, statbuf) == 0) {
|
||||
return SUCCESS;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue