mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10278] Decrease default timeout of get_remote_file() to 6 seconds.
PHPBB3-10278
This commit is contained in:
parent
29a23ae217
commit
c0507c6a9e
1 changed files with 1 additions and 1 deletions
|
@ -3130,7 +3130,7 @@ function get_database_size()
|
|||
/**
|
||||
* Retrieve contents from remotely stored file
|
||||
*/
|
||||
function get_remote_file($host, $directory, $filename, &$errstr, &$errno, $port = 80, $timeout = 10)
|
||||
function get_remote_file($host, $directory, $filename, &$errstr, &$errno, $port = 80, $timeout = 6)
|
||||
{
|
||||
global $user;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue