aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-08-25 20:38:53 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-08-25 20:39:35 +0200
commitc0507c6a9e26ba250596530f501bf6843250ed36 (patch)
tree2d70abc818ebb72357faaee0d1804a4288286338 /phpBB/includes/functions_admin.php
parent29a23ae217efed86e6b5afff4c9a0b1271eb20f4 (diff)
downloadforums-c0507c6a9e26ba250596530f501bf6843250ed36.tar
forums-c0507c6a9e26ba250596530f501bf6843250ed36.tar.gz
forums-c0507c6a9e26ba250596530f501bf6843250ed36.tar.bz2
forums-c0507c6a9e26ba250596530f501bf6843250ed36.tar.xz
forums-c0507c6a9e26ba250596530f501bf6843250ed36.zip
[ticket/10278] Decrease default timeout of get_remote_file() to 6 seconds.
PHPBB3-10278
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 8b9b80b23d..bcd477d855 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -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;