Files
phpmyadmin/libraries/dbg/setup.php
2003-11-26 22:52:25 +00:00

21 lines
555 B
PHP

<?php
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
if (isset($GLOBALS['cfg']['DBG']['enable']) && $GLOBALS['cfg']['DBG']['enable']) {
/**
* Loads the DBG extension if needed
*/
if (!@extension_loaded('dbg')) {
PMA_dl('dbg');
}
if (!@extension_loaded('dbg')) {
echo sprintf($strCantLoad, 'DBG') . '<br />' . "\n"
. '<a href="./Documentation.html#faqdbg" target="documentation">' . $GLOBALS['strDocu'] . '</a>' . "\n";
require_once('./footer.inc.php');
}
$GLOBALS['DBG'] = true;
}
?>