Skip to content

Instantly share code, notes, and snippets.

@CrookedNumber
Created July 9, 2012 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CrookedNumber/3078570 to your computer and use it in GitHub Desktop.
Save CrookedNumber/3078570 to your computer and use it in GitHub Desktop.
477,486d476
<
< // Check that Drupal can issue HTTP requests.
< if (variable_get('drupal_http_request_fails', TRUE) && !system_check_http_request()) {
< $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. If you are certain that Drupal can access web pages but you are still seeing this message, you may add <code>$conf[\'drupal_http_request_fails\'] = FALSE;</code> to the bottom of your settings.php file.'),
< );
< }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment