diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-03-23 14:39:38 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-03-23 14:39:38 +0000 |
commit | d182a88b681dda2893e569b87948f7012fa230c6 (patch) | |
tree | 89a8ded5fd3926ea553724805e35a4737b176412 /phpBB/download | |
parent | 33f4d78d2eceddac2278e115540450ded9db1763 (diff) | |
download | forums-d182a88b681dda2893e569b87948f7012fa230c6.tar forums-d182a88b681dda2893e569b87948f7012fa230c6.tar.gz forums-d182a88b681dda2893e569b87948f7012fa230c6.tar.bz2 forums-d182a88b681dda2893e569b87948f7012fa230c6.tar.xz forums-d182a88b681dda2893e569b87948f7012fa230c6.zip |
Forbidden should have an uppercase F
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8459 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/download')
-rw-r--r-- | phpBB/download/file.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 0be562aadf..9940bf9aa5 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -48,7 +48,7 @@ if (isset($_GET['avatar'])) // '==' is not a bug - . as the first char is as bad as no dot at all if (strpos($filename, '.') == false) { - header('HTTP/1.0 403 forbidden'); + header('HTTP/1.0 403 Forbidden'); if (!empty($cache)) { $cache->unload(); @@ -89,7 +89,7 @@ if (isset($_GET['avatar'])) if (!in_array($ext, array('png', 'gif', 'jpg', 'jpeg'))) { // no way such an avatar could exist. They are not following the rules, stop the show. - header("HTTP/1.0 403 forbidden"); + header("HTTP/1.0 403 Forbidden"); if (!empty($cache)) { $cache->unload(); @@ -101,7 +101,7 @@ if (isset($_GET['avatar'])) if (!$filename) { // no way such an avatar could exist. They are not following the rules, stop the show. - header("HTTP/1.0 403 forbidden"); + header("HTTP/1.0 403 Forbidden"); if (!empty($cache)) { $cache->unload(); @@ -208,7 +208,7 @@ else $row['forum_id'] = false; if (!$auth->acl_get('u_pm_download')) { - header('HTTP/1.0 403 forbidden'); + header('HTTP/1.0 403 Forbidden'); trigger_error('SORRY_AUTH_VIEW_ATTACH'); } @@ -231,7 +231,7 @@ else if (!$allowed) { - header('HTTP/1.0 403 forbidden'); + header('HTTP/1.0 403 Forbidden'); trigger_error('ERROR_NO_ATTACHMENT'); } } @@ -246,7 +246,7 @@ else if (!download_allowed()) { - header('HTTP/1.0 403 forbidden'); + header('HTTP/1.0 403 Forbidden'); trigger_error($user->lang['LINKAGE_FORBIDDEN']); } |