2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * @package phpMyAdmin-DBG
6 if (! defined('PHPMYADMIN')) {
11 * checks for DBG extension
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']['php']) {
18 * Loads the DBG extension if needed
20 if (! @extension_loaded
('dbg') ) {
21 $message = PMA_Message
::error(__('The %s extension is missing. Please check your PHP configuration.'),
22 $message->addParam(sprintf('[a@http://php.net/%1$s@Documentation][em]%1$s[/em][/a]', 'dbg'));
23 $message->addMessage('<a href="./Documentation.html#faqdbg" target="documentation">', false);
24 $message->addString(__('Documentation'));
25 $message->addMessage('</a>', false);
28 $GLOBALS['DBG'] = true;