Ignore:
Timestamp:
Oct 4, 2008, 1:33:34 PM (16 years ago)
Author:
patdenice
Message:

Add explicit error message in plugins tab if allow_url_fopen is disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/plugins_new.php

    r2647 r2652  
    9090// |                     start template output                             |
    9191// +-----------------------------------------------------------------------+
    92 if ($plugins->get_server_plugins(true))
     92if (!ini_get('allow_url_fopen'))
     93{
     94  array_push($page['errors'], l10n('Unable to retrieve server informations since allow_url_fopen is disabled.'));
     95}
     96elseif ($plugins->get_server_plugins(true))
    9397{
    9498  $plugins->sort_server_plugins($order);
Note: See TracChangeset for help on using the changeset viewer.