From 3b0caa8de442a1028a78d2cf48aff4d3997729b3 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 15 Nov 2008 21:11:58 +0000 Subject: merge -c2880 from trunk to branch 2.0 - Add fetchRemote function which allow to retrieve datas over HTTP protocol using cURL method, file_get_contents function or fsockopen method. This allow to retrieve datas or files even if allow_url_fopen is deactivated. - Use fetchRemote function in plugins manager and in latest version checking. - Add german translations for upgrade.lang.php. - Remove empty line at the end of pclzip.lib.php. - Change display of deactivated plugins after upgrade. git-svn-id: http://piwigo.org/svn/branches/2.0@2881 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/plugins_new.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'admin/plugins_new.php') diff --git a/admin/plugins_new.php b/admin/plugins_new.php index d2c2ce52f..e86dc0a16 100644 --- a/admin/plugins_new.php +++ b/admin/plugins_new.php @@ -89,11 +89,7 @@ $template->assign('order_selected', $link.$order); // +-----------------------------------------------------------------------+ // | start template output | // +-----------------------------------------------------------------------+ -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)) +if ($plugins->get_server_plugins(true)) { $plugins->sort_server_plugins($order); -- cgit v1.2.3