1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

some adjustements to the installer

git-svn-id: file:///svn/phpbb/trunk@9284 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2009-01-21 17:03:00 +00:00
parent dcd073bb44
commit 9f060eba6e
6 changed files with 125 additions and 50 deletions

View File

@@ -2006,18 +2006,27 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
{
global $msg_title, $msg_long_text;
// Do not display notices if we suppress them via @
if (error_reporting() == 0)
{
return;
}
// Message handler is stripping text. In case we need it, we are able to define long text...
if (isset($msg_long_text) && $msg_long_text && !$msg_text)
{
$msg_text = $msg_long_text;
}
// Store information for later use
phpbb::$last_notice = array(
'file' => $errfile,
'line' => $errline,
'message' => $msg_text,
'php_error' => (!empty($php_errormsg)) ? $php_errormsg : '',
'errno' => $errno,
);
// Do not display notices if we suppress them via @
if (error_reporting() == 0)
{
return;
}
switch ($errno)
{
case E_NOTICE: