summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index c50f01770..e2fdf6382 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -241,6 +241,14 @@ function system_requirements($phase) {
$requirements['update status'] = array(
'value' => $t('Enabled'),
);
+ if (variable_get('drupal_http_request_fails', FALSE)) {
+ $requirements['http requests'] = array(
+ 'title' => $t('HTTP request status'),
+ 'value' => $t('Fails'),
+ 'severity' => REQUIREMENT_ERROR,
+ 'description' => $t('Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.'),
+ );
+ }
}
$requirements['update status']['title'] = $t('Update notifications');
}