mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/16292] Check that the installer container is available
PHPBB3-16292
This commit is contained in:
parent
62a45d86ec
commit
e22f431660
1 changed files with 14 additions and 10 deletions
|
@ -93,6 +93,8 @@ function installer_msg_handler($errno, $msg_text, $errfile, $errline)
|
||||||
case E_USER_ERROR:
|
case E_USER_ERROR:
|
||||||
$msg = '<b>General Error:</b><br>' . $msg_text . '<br> in file ' . $errfile . ' on line ' . $errline . '<br><br>';
|
$msg = '<b>General Error:</b><br>' . $msg_text . '<br> in file ' . $errfile . ' on line ' . $errline . '<br><br>';
|
||||||
|
|
||||||
|
if (!empty($phpbb_installer_container))
|
||||||
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
/** @var \phpbb\install\helper\iohandler\iohandler_interface $iohandler */
|
/** @var \phpbb\install\helper\iohandler\iohandler_interface $iohandler */
|
||||||
|
@ -105,6 +107,8 @@ function installer_msg_handler($errno, $msg_text, $errfile, $errline)
|
||||||
{
|
{
|
||||||
throw new \phpbb\exception\runtime_exception($msg);
|
throw new \phpbb\exception\runtime_exception($msg);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
throw new \phpbb\exception\runtime_exception($msg);
|
||||||
break;
|
break;
|
||||||
case E_DEPRECATED:
|
case E_DEPRECATED:
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue