1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/14269] Change HTTP status codes to 403

PHPBB3-14269
This commit is contained in:
Mate Bartus
2015-12-05 15:42:22 +01:00
parent 02a9264780
commit 44a90c9812
2 changed files with 2 additions and 2 deletions

View File

@@ -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(

View File

@@ -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(