From 073ee1397ac954f6d689c68dcd18ef1c46f4ec04 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 5 Jun 2006 22:39:50 +0000 Subject: [PATCH] MFH: no need to check if non-existing include_path complies with open_basedir setting --- 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 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; } -- 2.50.1