Introduce "accept_header" as specific argument to the http client

This commit is contained in:
Philipp
2022-04-02 21:16:22 +02:00
parent 73c3b21665
commit e299fc67c8
35 changed files with 150 additions and 150 deletions

View File

@@ -220,7 +220,7 @@ class Images
}
if (empty($img_str)) {
$img_str = DI::httpClient()->fetch($url, 4, HttpClientAccept::IMAGE);
$img_str = DI::httpClient()->fetch($url, HttpClientAccept::IMAGE, 4);
}
if (!$img_str) {