[ticket/10278] Decrease default timeout of get_remote_file() to 6 seconds.

PHPBB3-10278
This commit is contained in:
Andreas Fischer 2011-08-25 20:38:53 +02:00
parent 29a23ae217
commit c0507c6a9e

View file

@ -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;