]> granicus.if.org Git - php/commitdiff
MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file
authorSara Golemon <pollita@php.net>
Fri, 14 Apr 2006 17:44:56 +0000 (17:44 +0000)
committerSara Golemon <pollita@php.net>
Fri, 14 Apr 2006 17:44:56 +0000 (17:44 +0000)
ext/standard/file.c

index 237075ba27ff16e636c0873b769c5e4a5983b1e8..6b93cd899889c4c48ec6b7603f37509b0ba29f88 100644 (file)
@@ -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;