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