mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
I am a total utter idiot and I will kill those monkies, down cheetah
git-svn-id: file:///svn/phpbb/trunk@592 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
9388cb0d65
commit
d5d68e7149
1 changed files with 2 additions and 4 deletions
|
@ -56,7 +56,6 @@ $images['new_folder'] = "$url_images/red_folder.gif";
|
||||||
$images['latest_reply'] = "$url_images/latest_reply.gif";
|
$images['latest_reply'] = "$url_images/latest_reply.gif";
|
||||||
$images['locked_folder'] = "$url_images/folder_lock.gif";
|
$images['locked_folder'] = "$url_images/folder_lock.gif";
|
||||||
|
|
||||||
|
|
||||||
include('includes/template.inc');
|
include('includes/template.inc');
|
||||||
|
|
||||||
include('includes/error.'.$phpEx);
|
include('includes/error.'.$phpEx);
|
||||||
|
@ -66,7 +65,6 @@ include('includes/auth.'.$phpEx);
|
||||||
include('includes/functions.'.$phpEx);
|
include('includes/functions.'.$phpEx);
|
||||||
include('includes/db.'.$phpEx);
|
include('includes/db.'.$phpEx);
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Obtain and encode users IP
|
// Obtain and encode users IP
|
||||||
//
|
//
|
||||||
|
@ -77,11 +75,11 @@ if(!empty($HTTP_CLIENT_IP))
|
||||||
$client_ip = $HTTP_CLIENT_IP;
|
$client_ip = $HTTP_CLIENT_IP;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(!empty($HTTP_X_FORWADED_FOR))
|
else if(!empty($HTTP_X_FORWARDED_FOR))
|
||||||
{
|
{
|
||||||
if(strstr(",", $HTTP_X_FORWARDED_FOR))
|
if(strstr(",", $HTTP_X_FORWARDED_FOR))
|
||||||
{
|
{
|
||||||
list($client_ip) = explode(",", $HTTP_X_FORWADED_FOR);
|
list($client_ip) = explode(",", $HTTP_X_FORWARDED_FOR);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue