typo
[phpmyadmin/arisferyanto.git] / libraries / dbg / setup.php
blob5e0683ac070ece67309b80bf7d1c9a44eabdfef8
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @version $Id$
5 * @package phpMyAdmin-DBG
6 */
7 if (! defined('PHPMYADMIN')) {
8 exit;
11 /**
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']) {
18 /**
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);
27 $message->display();
28 } else {
29 $GLOBALS['DBG'] = true;