fixed 'not defined function'
This commit is contained in:
@@ -6,7 +6,9 @@ $Id$
|
||||
$Source$
|
||||
|
||||
2005-11-01 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* libraries/dbg/setup.php: display error in error box
|
||||
* libraries/dbg/setup.php:
|
||||
- display error in error box
|
||||
- fixed 'not defined function'
|
||||
|
||||
2005-11-01 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* server_privileges.php: undefined variable when changing a password
|
||||
|
@@ -6,18 +6,14 @@ if (isset($GLOBALS['cfg']['DBG']['enable']) && $GLOBALS['cfg']['DBG']['enable'])
|
||||
/**
|
||||
* Loads the DBG extension if needed
|
||||
*/
|
||||
if (!@extension_loaded('dbg')) {
|
||||
PMA_dl('dbg');
|
||||
}
|
||||
if (!@extension_loaded('dbg')) {
|
||||
if ( ! @extension_loaded('dbg') && ! PMA_dl('dbg') ) {
|
||||
echo '<div class="warning">'
|
||||
.sprintf($strCantLoad, 'DBG')
|
||||
.' <a href="./Documentation.html#faqdbg" target="documentation">'
|
||||
.$GLOBALS['strDocu'] . '</a>'
|
||||
.'</div>';
|
||||
require_once('./footer.inc.php');
|
||||
} else {
|
||||
$GLOBALS['DBG'] = true;
|
||||
}
|
||||
$GLOBALS['DBG'] = true;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Reference in New Issue
Block a user