projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_24_0'.
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index 1c63ba0d6b270f57dbe2a01a28d012e44b98fb59..8ce961fdac10ccdf666076eb2ad5bd7cda2db923 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-1502,7
+1502,7
@@
PHP_FUNCTION(http_put_file)
RETURN_FALSE;
}
RETURN_FALSE;
}
- if (!(stream = php_stream_open_wrapper
(file, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL
))) {
+ if (!(stream = php_stream_open_wrapper
_ex(file, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL, HTTP_DEFAULT_STREAM_CONTEXT
))) {
RETURN_FALSE;
}
if (php_stream_stat(stream, &ssb)) {
RETURN_FALSE;
}
if (php_stream_stat(stream, &ssb)) {