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_update.php

    r2647 r2652  
    9898// |                     start template output                             |
    9999// +-----------------------------------------------------------------------+
    100 if ($plugins->get_server_plugins())
     100if (!ini_get('allow_url_fopen'))
     101{
     102  array_push($page['errors'], l10n('Unable to connect to PEM server since allow_url_fopen is disabled.'));
     103}
     104elseif ($plugins->get_server_plugins())
    101105{
    102106  foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
Note: See TracChangeset for help on using the changeset viewer.