1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

PHP Notice removal and debug info styling.

This commit is contained in:
Cameron
2017-12-17 13:13:18 -08:00
parent d73f39f61d
commit a68cf279b6
6 changed files with 13 additions and 9 deletions

View File

@@ -2434,15 +2434,15 @@ class error_handler
{
$text .= "
<tr>
<td>".$key."</td>
<td>";
<td class='forumheader3'>".$key."</td>
<td class='forumheader3'>";
$text .= !empty($val['class']) ? $val['class']."->" : '';
$text .= !empty($val['include_filename']) ? "include: ". str_replace($this->docroot,'', $val['include_filename']) : '';
$text .= !empty($val['function']) ? $val['function']."(" : "";
$text .= !empty($val['params']) ? print_r($val['params'],true) : '';
$text .= !empty($val['function']) ? ")" : "";
$text .="</td>
<td>";
<td class='forumheader3'>";
$text .= str_replace($this->docroot,'', $val['file']).":".$val['line'];
$text .= "</td>
</tr>";
@@ -2480,7 +2480,7 @@ class error_handler
{
foreach ($this->errors as $key => $value)
{
$ret .= "<tr class='forumheader3'><td>{$value['short']}</td></tr>\n";
$ret .= "<tr><td class='forumheader3'>{$value['short']}</td></tr>\n";
}
}