From 99e0a6f3d642e28112e469661dc595f22c0fe1fe Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 5 Jun 2006 22:39:10 +0000 Subject: [PATCH] no need to check if non-existing include_path complies with open_basedir setting the only result we can get is segfault --- main/streams/plain_wrapper.c | 5 ----- 1 file changed, 5 deletions(-) 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); } -- 2.50.1