new error handler - needs some more work, but works already:
- errors are gathered through all pages till displayed - errors are displayed in main footer - configurable error gathering - configurable error displaying - configurable error logging
This commit is contained in:
@@ -58,6 +58,12 @@ if (! PMA_isValid($_REQUEST['no_history']) && empty($GLOBALS['error_message'])
|
||||
$GLOBALS['sql_query']);
|
||||
}
|
||||
|
||||
if ($GLOBALS['error_handler']->hasDisplayErrors()) {
|
||||
echo '<div>';
|
||||
$GLOBALS['error_handler']->dispErrors();
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
if (count($GLOBALS['footnotes'])) {
|
||||
echo '<div class="notice">';
|
||||
foreach ($GLOBALS['footnotes'] as $footnote) {
|
||||
|
Reference in New Issue
Block a user