Browse Source

- Fix according to Sara's reply

migration/RELEASE_1_0_0
Andi Gutmans 21 years ago
parent
commit
8f126f33ac
  1. 3
      main/streams/plain_wrapper.c

3
main/streams/plain_wrapper.c

@ -964,8 +964,7 @@ static int php_plain_files_unlink(php_stream_wrapper *wrapper, char *url, int op
url = p + 3;
}
/* FIXME: Andi - Pending email I sent to internals@ re: ENFORCE_SAFE_MODE */
if (options & ENFORCE_SAFE_MODE) {
if (!(options & STREAM_DISABLE_OPEN_BASEDIR)) {
if (php_check_open_basedir(url TSRMLS_CC)) {
return 0;
}

Loading…
Cancel
Save