From fa431b2bd56b5ac529428a2ab426b4abe82c302b Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Fri, 14 Apr 2006 17:46:59 +0000 Subject: [PATCH] MFH (r-1.436) copy() should not disrespect open_basedir on source file --- ext/standard/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/file.c b/ext/standard/file.c index 844e8f0712..c23ff82ed6 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -2201,7 +2201,7 @@ no_stat: safe_to_copy: srcstream = php_stream_open_wrapper(src, "rb", - STREAM_DISABLE_OPEN_BASEDIR | REPORT_ERRORS, + ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); if (!srcstream) -- 2.40.0