BLOB streaming documentation
[phpmyadmin/crack.git] / libraries / dbg / setup.php
blob233172fe704276289f141977d1f46649cbef1899
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @version $Id$
5 */
6 if (! defined('PHPMYADMIN')) {
7 exit;
10 /**
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']) {
17 /**
18 * Loads the DBG extension if needed
20 if (! @extension_loaded('dbg') ) {
21 $message = PMA_Message::error('strCantLoad');
22 $message->addParam('DBG');
23 $message->addMessage('<a href="./Documentation.html#faqdbg" target="documentation">', false);
24 $message->addString('strDocu');
25 $message->addMessage('</a>', false);
26 $message->display();
27 } else {
28 $GLOBALS['DBG'] = true;