2 /* vim: set expandtab sw=4 ts=4 sts=4: */
5 * @package phpMyAdmin-DBG
7 if (! defined('PHPMYADMIN')) {
12 * checks for DBG extension
14 * allways use $GLOBALS here, as this script is included by footer.inc.hp
15 * which can also be included from inside a function
17 if ($GLOBALS['cfg']['DBG']['php']) {
19 * Loads the DBG extension if needed
21 if (! @extension_loaded
('dbg') ) {
22 $message = PMA_Message
::error('strCantLoad');
23 $message->addParam('DBG');
24 $message->addMessage('<a href="./Documentation.html#faqdbg" target="documentation">', false);
25 $message->addString('strDocu');
26 $message->addMessage('</a>', false);
29 $GLOBALS['DBG'] = true;