Revert "NOISSUE, Getting a real ip of client, when the server is under a proxy."

This reverts commit d49b2307e7.
This commit is contained in:
bnu 2014-02-03 13:26:32 +09:00
parent b05afbb2fd
commit e77251379a

View file

@ -45,11 +45,6 @@ define('_XE_PATH_', str_replace('config/config.inc.php', '', str_replace('\\', '
// Set can use other method instead cookie to store session id(for file upload)
ini_set('session.use_only_cookies', 0);
// Set Real IP Address of Client.
if(isset($_SERVER['HTTP_X_FORWARDED_FOR']))
{
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR'];
}
if(file_exists(_XE_PATH_ . 'config/package.inc.php'))
{