From 1e9a9d596bdd7fef23b26002f5f1e18bf2ae27a3 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Fri, 14 Apr 2006 17:44:56 +0000 Subject: [PATCH] MFB (r-1.409.2.6) 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 237075ba27..6b93cd8998 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1786,7 +1786,7 @@ no_stat: } safe_to_copy: - srcstream = php_stream_open_wrapper(src, "rb", STREAM_DISABLE_OPEN_BASEDIR | REPORT_ERRORS, NULL); + srcstream = php_stream_open_wrapper(src, "rb", REPORT_ERRORS, NULL); if (!srcstream) { return ret; -- 2.50.1