1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 09:46:46 +02:00

[ticket/17443] Increase Guzzle client request timeout for version checks

PHPBB-17443
This commit is contained in:
rxu
2024-11-25 12:39:53 +07:00
parent 0e8f4f89d8
commit 7baba29d9d

View File

@@ -381,7 +381,7 @@ class version_helper
} }
else if ($info === false || $force_update) else if ($info === false || $force_update)
{ {
$info = $this->file_downloader->get($this->host, $this->path, $this->file, $this->use_ssl ? 443 : 80); $info = $this->file_downloader->get($this->host, $this->path, $this->file, $this->use_ssl ? 443 : 80, 30);
$error_string = $this->file_downloader->get_error_string(); $error_string = $this->file_downloader->get_error_string();
if (!empty($error_string)) if (!empty($error_string))