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