diff options
Diffstat (limited to 'lib/favicons.php')
| -rw-r--r-- | lib/favicons.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/favicons.php b/lib/favicons.php index 5cf4295f5..df893b309 100644 --- a/lib/favicons.php +++ b/lib/favicons.php @@ -45,9 +45,8 @@ function downloadHttp(string &$url, array $curlOptions = []): string { ]); FreshRSS_Context::initSystem(); - $system_conf = FreshRSS_Context::$system_conf; - if (isset($system_conf)) { - curl_setopt_array($ch, $system_conf->curl_options); + if (FreshRSS_Context::hasSystemConf()) { + curl_setopt_array($ch, FreshRSS_Context::systemConf()->curl_options); } curl_setopt_array($ch, $curlOptions); |
