tags patch
thanks
Dear Maintainers,
This is the patch from CVS (5.1.x) backported to 4.3.10-16.
Please review.
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c?r1=1.409.2.5&r2=1.409.2.6&pathrev=PHP_5_1
Regards,
Allard
Index: file.c
===================================================================
--- file.c (revision 61)
+++ file.c (working copy)
@@ -2143,7 +2143,7 @@
int ret = FAILURE;
srcstream = php_stream_open_wrapper(src, "rb",
- STREAM_DISABLE_OPEN_BASEDIR | REPORT_ERRORS,
+ ENFORCE_SAFE_MODE | REPORT_ERRORS,
NULL);
if (!srcstream)