mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 20:13:22 +01:00
[ticket/10278] Decrease default timeout of get_remote_file() to 6 seconds.
PHPBB3-10278
This commit is contained in:
parent
29a23ae217
commit
c0507c6a9e
@ -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…
x
Reference in New Issue
Block a user