Merge branch '3.2.x'

This commit is contained in:
Marc Alexander 2016-08-21 19:04:20 +02:00
commit 34b3e4b8e2

View file

@ -62,8 +62,10 @@ function installer_msg_handler($errno, $msg_text, $errfile, $errline)
case E_WARNING: case E_WARNING:
case E_USER_WARNING: case E_USER_WARNING:
case E_USER_NOTICE: case E_USER_NOTICE:
$msg = '[phpBB debug] "' . $msg_text . '" in file ' . $errfile . ' on line ' . $errline; $msg = '[phpBB Debug] "' . $msg_text . '" in file ' . $errfile . ' on line ' . $errline;
if (!empty($phpbb_installer_container))
{
try try
{ {
/** @var \phpbb\install\helper\iohandler\iohandler_interface $iohandler */ /** @var \phpbb\install\helper\iohandler\iohandler_interface $iohandler */
@ -72,8 +74,15 @@ function installer_msg_handler($errno, $msg_text, $errfile, $errline)
} }
catch (\phpbb\install\helper\iohandler\exception\iohandler_not_implemented_exception $e) catch (\phpbb\install\helper\iohandler\exception\iohandler_not_implemented_exception $e)
{ {
print ($msg); print($msg);
} }
}
else
{
print($msg);
}
return;
break; break;
case E_USER_ERROR: case E_USER_ERROR:
$msg = '<b>General Error:</b><br />' . $msg_text . '<br /> in file ' . $errfile . ' on line ' . $errline; $msg = '<b>General Error:</b><br />' . $msg_text . '<br /> in file ' . $errfile . ' on line ' . $errline;