2 /* vim: set expandtab sw=4 ts=4 sts=4: */
6 if (! defined('PHPMYADMIN')) {
11 * checks for DBG extension and trys to load if not loaded
13 * allways use $GLOBALS here, as this script is included by footer.inc.hp
14 * which can also be included from inside a function
16 if ($GLOBALS['cfg']['DBG']['enable']) {
18 * Loads the DBG extension if needed
20 if (! @extension_loaded
('dbg') && ! PMA_dl('dbg')) {
21 echo '<div class="warning">'
22 .sprintf($GLOBALS['strCantLoad'], 'DBG')
23 .' <a href="./Documentation.html#faqdbg" target="documentation">'
24 .$GLOBALS['strDocu'] . '</a>'
27 $GLOBALS['DBG'] = true;