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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user