WoltLab/WCF — pull request #304 by TobiHub (2011-12-17 12:48:04+00:00)
Title: Use $_SERVER['HTTP_X_FORWARDED_FOR'] if available!

$_SERVER['HTTP_X_FORWARDED_FOR'] is set if you access via a proxy (e.g. CloudFlare).
$_SERVER['HTTP_X_FORWARDED_FOR'] is also used in WCF 1.1 and really necessary to prevent fake sessions at proxies!