summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2006-04-14 17:46:59 +0000
committerSara Golemon <pollita@php.net>2006-04-14 17:46:59 +0000
commitfa431b2bd56b5ac529428a2ab426b4abe82c302b (patch)
tree6bc0b217deac16b6d1184d00208738c7761fd5bc
parent8c9578b492c36b25627f09970736525b56b0cad3 (diff)
downloadphp-git-fa431b2bd56b5ac529428a2ab426b4abe82c302b.tar.gz
MFH (r-1.436) copy() should not disrespect open_basedir on source file
-rw-r--r--ext/standard/file.c2
1 files changed, 1 insertions, 1 deletions
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)