Browse Source

stat on resolved path

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@950 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
fe16be2053
  1. 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…
Cancel
Save