wowhead.inc uses get_file_contents instead of drupal_http_request function to get the content of the pages. This is not allowed when allow_url_fopen is disabled in php.ini.
Attached patch changes wowhead.inc to use drupal_http_request instead of get_file_contents so that it will run when allow_url_fopen = Off

CommentFileSizeAuthor
#1 http_request_2.diff4.89 KBSchultz7
http_request.diff4.49 KBSchultz7

Comments

Schultz7’s picture

StatusFileSize
new4.89 KB

Here is another version of the patch which includes the 302 redirect fix