display error in error box
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2005-11-01 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* libraries/dbg/setup.php: display error in error box
|
||||
|
||||
2005-11-01 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* server_privileges.php: undefined variable when changing a password
|
||||
|
||||
|
@@ -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') . '<br />' . "\n"
|
||||
. '<a href="./Documentation.html#faqdbg" target="documentation">' . $GLOBALS['strDocu'] . '</a>' . "\n";
|
||||
echo '<div class="warning">'
|
||||
.sprintf($strCantLoad, 'DBG')
|
||||
.' <a href="./Documentation.html#faqdbg" target="documentation">'
|
||||
.$GLOBALS['strDocu'] . '</a>'
|
||||
.'</div>';
|
||||
require_once('./footer.inc.php');
|
||||
}
|
||||
$GLOBALS['DBG'] = true;
|
||||
|
Reference in New Issue
Block a user