From: Antony Dovgal Date: Mon, 5 Jun 2006 22:39:10 +0000 (+0000) Subject: no need to check if non-existing include_path complies with open_basedir setting X-Git-Tag: RELEASE_1_0_0RC1~2780 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99e0a6f3d642e28112e469661dc595f22c0fe1fe;p=php no need to check if non-existing include_path complies with open_basedir setting the only result we can get is segfault --- diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index bacfb2fc2c..2ae79d68a5 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -1227,11 +1227,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; - } - return php_stream_fopen_rel(filename, mode, opened_path, options); }