How do I add cloudflare to my dolphin site?

My site is on shared hosting so i cannot install the apache mod

http://www.cloudflare.com/wiki/Log_Files

 

which file do i edit so that that cloudflare can see the right ips. Right now spammers using proxies are not correctly being detected

 

Thank You

Daz

Quote · 8 May 2012

where can i add this code 

 

<?php if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) 

       $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];

?>

 

in the database.php maybe? (sorry not a programmer)

 

Thanks

Daz

Quote · 9 May 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.