I have a problem with ip addresses on the page. Cloudflare IP appears on the IP address, but not on everyone. I had to ban several users and a problem arose because they had an IP cloude assigned.
I used this code and pasted into config.php, but it doesn't work.
I used this code and pasted into config.php, but it doesn't work.
PHP:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }