ThomasCrate
New Member
- Jan 2, 2014
- 5
- 0
I've setup the API and when you vote it just stays on the retrolist /rankings page? I have also looked at previous threads about this issue which said add a code to the config.php
although that isn't working either, the cURL is currently set to 0. How can i make the api redirect back to the client after voting on the api.php other than staying on retroslist?
Code:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }