diff options
author | Michael Wallner <mike@php.net> | 2014-07-02 12:22:14 +0200 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2014-07-03 20:40:40 +0200 |
commit | 40bcd909d8948c53226accf9ceb11987b0f8e442 (patch) | |
tree | fb7c08e740899270900f83ce25c5ae3ae8e696b1 /ext/standard/php_fopen_wrapper.c | |
parent | 11e401ab59b73b22dcd6ce91e250c82ca808cd4f (diff) | |
download | php-git-40bcd909d8948c53226accf9ceb11987b0f8e442.tar.gz |
refactor php_stream_temp_create{,_ex} and use it for the php://input stream
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r-- | ext/standard/php_fopen_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index 7e21e95d18..9628c0d69d 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -231,7 +231,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *pa if ((input->body = SG(request_info).request_body)) { php_stream_rewind(input->body); } else { - input->body = php_stream_temp_create(TEMP_STREAM_DEFAULT, SAPI_POST_BLOCK_SIZE); + input->body = php_stream_temp_create_ex(TEMP_STREAM_DEFAULT, SAPI_POST_BLOCK_SIZE, PG(upload_tmp_dir)); SG(request_info).request_body = input->body; } |