Hello, I've been using this mod for a little bit and love it, but I changed to a host that has allow_url_fopen disabled saying it was a security risk and I am unable to override that setting.
I tried using the code posted earlier, but it is still not able to get the armory information.
Quote:
ok this fixed the problem:
Find: $xml = file_get_contents($url);
replace with:
// $xml = file_get_contents($url);
// Nah, let's cURL it instead
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$xml = curl_exec($ch);
curl_close($ch);
// cURL'd
|
I know you have said you won't be changing the mod to not use allow_url_fopen, but if you know what I need to change myself I would very much appreciate it.
Thanks again for such a great mod.