Browse Source

cacher: disable extra openbase dir warnning

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@320 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 15 years ago
parent
commit
babf8e3b57
  1. 2
      xcache.c

2
xcache.c

@ -856,7 +856,7 @@ static int xc_entry_init_key_php_md5(xc_entry_data_php_t *php, xc_entry_t *xce T
php_stream *stream;
xc_hash_value_t hv;
stream = php_stream_open_wrapper(xce->name.str.val, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL);
stream = php_stream_open_wrapper(xce->name.str.val, "rb", USE_PATH | REPORT_ERRORS | ENFORCE_SAFE_MODE | STREAM_DISABLE_OPEN_BASEDIR, NULL);
if (!stream) {
return FAILURE;
}

Loading…
Cancel
Save