diff options
Diffstat (limited to 'app/Controllers/extensionController.php')
| -rw-r--r-- | app/Controllers/extensionController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/extensionController.php b/app/Controllers/extensionController.php index 6a4d97bea..bf1f01c59 100644 --- a/app/Controllers/extensionController.php +++ b/app/Controllers/extensionController.php @@ -44,10 +44,10 @@ class FreshRSS_extension_Controller extends FreshRSS_ActionController { */ protected function getAvailableExtensionList(): array { $extensionListUrl = 'https://raw.githubusercontent.com/FreshRSS/Extensions/master/extensions.json'; - $json = @file_get_contents($extensionListUrl); + $json = httpGet($extensionListUrl, CACHE_PATH . '/extension_list.json', 'json'); // we ran into problems, simply ignore them - if ($json === false) { + if ($json === '') { Minz_Log::error('Could not fetch available extension from GitHub'); return []; } |
