Posted by Schultz7 on July 20, 2009 at 7:12am
| Project: | Lootz Item Filter |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
| Attachment | Size |
|---|---|
| http_request.diff | 4.49 KB |
Comments
#1
Here is another version of the patch which includes the 302 redirect fix