mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/10278] Decrease default timeout of get_remote_file() to 6 seconds.
PHPBB3-10278
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user