aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/controller
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2015-12-05 15:42:22 +0100
committerMate Bartus <mate.bartus@gmail.com>2015-12-05 15:42:22 +0100
commit44a90c9812c4eff73051e75647362859f9407a5f (patch)
tree1c6474ee754d5cdc9a5600172a9165a66186a811 /phpBB/phpbb/install/controller
parent02a9264780f3896cf88b9d793dbf8831aa54e029 (diff)
downloadforums-44a90c9812c4eff73051e75647362859f9407a5f.tar
forums-44a90c9812c4eff73051e75647362859f9407a5f.tar.gz
forums-44a90c9812c4eff73051e75647362859f9407a5f.tar.bz2
forums-44a90c9812c4eff73051e75647362859f9407a5f.tar.xz
forums-44a90c9812c4eff73051e75647362859f9407a5f.zip
[ticket/14269] Change HTTP status codes to 403
PHPBB3-14269
Diffstat (limited to 'phpBB/phpbb/install/controller')
-rw-r--r--phpBB/phpbb/install/controller/install.php2
-rw-r--r--phpBB/phpbb/install/controller/update.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/install/controller/install.php b/phpBB/phpbb/install/controller/install.php
index baa4e4807a..8bf9062b08 100644
--- a/phpBB/phpbb/install/controller/install.php
+++ b/phpBB/phpbb/install/controller/install.php
@@ -105,7 +105,7 @@ class install
{
if ($this->install_helper->is_phpbb_installed())
{
- throw new http_exception(404, 'INSTALL_PHPBB_INSTALLED');
+ throw new http_exception(403, 'INSTALL_PHPBB_INSTALLED');
}
$this->template->assign_vars(array(
diff --git a/phpBB/phpbb/install/controller/update.php b/phpBB/phpbb/install/controller/update.php
index 8ecd8b3cb8..9fff11cae8 100644
--- a/phpBB/phpbb/install/controller/update.php
+++ b/phpBB/phpbb/install/controller/update.php
@@ -103,7 +103,7 @@ class update
{
if (!$this->install_helper->is_phpbb_installed())
{
- throw new http_exception(404, 'INSTALL_PHPBB_NOT_INSTALLED');
+ throw new http_exception(403, 'INSTALL_PHPBB_NOT_INSTALLED');
}
$this->template->assign_vars(array(