mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Notice removal
This commit is contained in:
@@ -2419,7 +2419,7 @@ class error_handler
|
|||||||
case E_DEPRECATED:
|
case E_DEPRECATED:
|
||||||
// case E_STRICT:
|
// case E_STRICT:
|
||||||
|
|
||||||
if ($startup_error || E107_DBG_ALLERRORS || E107_DBG_ERRBACKTRACE)
|
if ($startup_error || deftrue('E107_DBG_ALLERRORS') || deftrue('E107_DBG_ERRBACKTRACE'))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -2441,7 +2441,7 @@ class error_handler
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case E_WARNING:
|
case E_WARNING:
|
||||||
if ($startup_error || E107_DBG_BASIC || E107_DBG_ERRBACKTRACE)
|
if ($startup_error || deftrue('E107_DBG_BASIC') || deftrue('E107_DBG_ERRBACKTRACE'))
|
||||||
{
|
{
|
||||||
// $error['short'] = "Warning: {$message}, Line {$line} of {$file}<br />\n";
|
// $error['short'] = "Warning: {$message}, Line {$line} of {$file}<br />\n";
|
||||||
$error['short'] = "<span class='label label-".$this->color[$type]."'>".$this->label[$type]."</span> {$message}, Line <mark>{$line}</mark> of {$file}<br />\n";
|
$error['short'] = "<span class='label label-".$this->color[$type]."'>".$this->label[$type]."</span> {$message}, Line <mark>{$line}</mark> of {$file}<br />\n";
|
||||||
|
Reference in New Issue
Block a user