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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | http_request_2.diff | 4.89 KB | Schultz7 |
| http_request.diff | 4.49 KB | Schultz7 |
Comments
Comment #1
Schultz7 commentedHere is another version of the patch which includes the 302 redirect fix