Quote:
Originally Posted by Dave
Then the link I posted should explain how to fix it.
You can also add the following to your config.php file:
PHP Code:
$config['Misc']['proxyipheader'] = 'HTTP_CF_CONNECTING_IP';
or
PHP Code:
$_SERVER['REMOTE_ADDR'] = (isset($_SERVER['HTTP_CF_CONNECTING_IP']) ? $_SERVER['HTTP_CF_CONNECTING_IP'] : $_SERVER['REMOTE_ADDR']);
I would see if the first option works first, if not, try the link I sent you.
|
Installed it.
http://prntscr.com/8khgeu
Not sure if its working correctly.
Installed the mod that was mentioned on the Cloudflare link you posted above.
Checked admin's account again from Search IP addresses and still see the same result. For some reason, its not working.
Gonna try adding this code that you posted and see if it works then.
--------------- Added [DATE]1443218876[/DATE] at [TIME]1443218876[/TIME] ---------------
Quote:
Originally Posted by Dave
Then the link I posted should explain how to fix it.
You can also add the following to your config.php file:
PHP Code:
$config['Misc']['proxyipheader'] = 'HTTP_CF_CONNECTING_IP';
or
PHP Code:
$_SERVER['REMOTE_ADDR'] = (isset($_SERVER['HTTP_CF_CONNECTING_IP']) ? $_SERVER['HTTP_CF_CONNECTING_IP'] : $_SERVER['REMOTE_ADDR']);
I would see if the first option works first, if not, try the link I sent you.
|
Can't find this code in the config file.