Просмотр исходного кода

Update extensionController.php (#4571)

maTh 3 лет назад
Родитель
Сommit
b1a74a3476
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Controllers/extensionController.php

+ 1 - 1
app/Controllers/extensionController.php

@@ -42,7 +42,7 @@ class FreshRSS_extension_Controller extends FreshRSS_ActionController {
 	 */
 	 */
 	protected function getAvailableExtensionList() {
 	protected function getAvailableExtensionList() {
 		$extensionListUrl = 'https://raw.githubusercontent.com/FreshRSS/Extensions/master/extensions.json';
 		$extensionListUrl = 'https://raw.githubusercontent.com/FreshRSS/Extensions/master/extensions.json';
-		$json = file_get_contents($extensionListUrl);
+		$json = @file_get_contents($extensionListUrl);
 
 
 		// we ran into problems, simply ignore them
 		// we ran into problems, simply ignore them
 		if ($json === false) {
 		if ($json === false) {