summaryrefslogtreecommitdiff
path: root/main/streams/plain_wrapper.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-06-05 22:39:50 +0000
committerAntony Dovgal <tony2001@php.net>2006-06-05 22:39:50 +0000
commit073ee1397ac954f6d689c68dcd18ef1c46f4ec04 (patch)
tree3ffce37b99d76e013316980028bd23c6651af606 /main/streams/plain_wrapper.c
parent8b764bd08c00e749203266edbe396c39b7e22ac2 (diff)
downloadphp-git-073ee1397ac954f6d689c68dcd18ef1c46f4ec04.tar.gz
MFH: no need to check if non-existing include_path complies with open_basedir setting
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r--main/streams/plain_wrapper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c
index 49c11d2c1c..99fcf7ee10 100644
--- a/main/streams/plain_wrapper.c
+++ b/main/streams/plain_wrapper.c
@@ -1272,11 +1272,6 @@ not_relative_path:
#endif
if (!path || (path && !*path)) {
-
- if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(path TSRMLS_CC)) {
- return NULL;
- }
-
if (PG(safe_mode) && (!php_checkuid(filename, mode, CHECKUID_CHECK_MODE_PARAM))) {
return NULL;
}