1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/14448] Use GuzzleHttp and try to verify certs

PHPBB3-14448
This commit is contained in:
Marc Alexander
2016-02-03 14:06:10 +01:00
parent 5ee559d524
commit c83db45f55
2 changed files with 37 additions and 13 deletions

View File

@@ -118,7 +118,7 @@ class phpbb_files_types_remote_test extends phpbb_test_case
$upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path);
$upload->set_allowed_extensions(array('png'));
$type_remote->set_upload($upload);
$upload->upload_timeout = -5;
$upload->upload_timeout = 0.001;
$file = $type_remote->upload('http://google.com/?.png');