From 522c09e27b61adb1d878fbaad7390b35ec0009ed Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 2 Nov 2005 07:22:55 +0000 Subject: [PATCH] display error in error box --- ChangeLog | 3 +++ libraries/dbg/setup.php | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 68a647752..03fa3e738 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-11-01 Sebastian Mendel + * libraries/dbg/setup.php: display error in error box + 2005-11-01 Marc Delisle * server_privileges.php: undefined variable when changing a password diff --git a/libraries/dbg/setup.php b/libraries/dbg/setup.php index 61a7ca6ef..9a0f7dfa7 100644 --- a/libraries/dbg/setup.php +++ b/libraries/dbg/setup.php @@ -10,8 +10,11 @@ if (isset($GLOBALS['cfg']['DBG']['enable']) && $GLOBALS['cfg']['DBG']['enable']) PMA_dl('dbg'); } if (!@extension_loaded('dbg')) { - echo sprintf($strCantLoad, 'DBG') . '
' . "\n" - . '' . $GLOBALS['strDocu'] . '' . "\n"; + echo '
' + .sprintf($strCantLoad, 'DBG') + .' ' + .$GLOBALS['strDocu'] . '' + .'
'; require_once('./footer.inc.php'); } $GLOBALS['DBG'] = true;