aboutsummaryrefslogtreecommitdiffstats
path: root/admin/plugins_new.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/plugins_new.php')
-rw-r--r--admin/plugins_new.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/admin/plugins_new.php b/admin/plugins_new.php
index e86dc0a16..d2c2ce52f 100644
--- a/admin/plugins_new.php
+++ b/admin/plugins_new.php
@@ -89,7 +89,11 @@ $template->assign('order_selected', $link.$order);
// +-----------------------------------------------------------------------+
// | start template output |
// +-----------------------------------------------------------------------+
-if ($plugins->get_server_plugins(true))
+if (!ini_get('allow_url_fopen'))
+{
+ array_push($page['errors'], l10n('Unable to retrieve server informations since allow_url_fopen is disabled.'));
+}
+elseif ($plugins->get_server_plugins(true))
{
$plugins->sort_server_plugins($order);