diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-07-06 22:57:32 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-07-06 22:57:32 +0000 |
commit | d5d68e71491ff193ee7748c23dfbcb4dea397535 (patch) | |
tree | ec05a8efacb5f4944fb50ee2aee619091abb9bfe /phpBB/common.php | |
parent | 9388cb0d652c5483287dcab96c55907a87c95270 (diff) | |
download | forums-d5d68e71491ff193ee7748c23dfbcb4dea397535.tar forums-d5d68e71491ff193ee7748c23dfbcb4dea397535.tar.gz forums-d5d68e71491ff193ee7748c23dfbcb4dea397535.tar.bz2 forums-d5d68e71491ff193ee7748c23dfbcb4dea397535.tar.xz forums-d5d68e71491ff193ee7748c23dfbcb4dea397535.zip |
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
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 8eb648495a..d9cdc61dbc 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -56,7 +56,6 @@ $images['new_folder'] = "$url_images/red_folder.gif"; $images['latest_reply'] = "$url_images/latest_reply.gif"; $images['locked_folder'] = "$url_images/folder_lock.gif"; - include('includes/template.inc'); include('includes/error.'.$phpEx); @@ -66,7 +65,6 @@ include('includes/auth.'.$phpEx); include('includes/functions.'.$phpEx); include('includes/db.'.$phpEx); - // // Obtain and encode users IP // @@ -77,11 +75,11 @@ if(!empty($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)) { - list($client_ip) = explode(",", $HTTP_X_FORWADED_FOR); + list($client_ip) = explode(",", $HTTP_X_FORWARDED_FOR); } else { |