|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/betterpi/Old Site/phpadmin/libraries/dbg/ |
Upload File : |
<?php
/* $Id: setup.php 7699 2005-11-03 12:22:08Z cybot_tm $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* checks for DBG extension and trys to load if not loaded
*
* allways use $GLOBALS here, as this script is included by footer.inc.hp
* which can also be included from inside a function
*/
if ( $GLOBALS['cfg']['DBG']['enable'] ) {
/**
* Loads the DBG extension if needed
*/
if ( ! @extension_loaded('dbg') && ! PMA_dl('dbg') ) {
echo '<div class="warning">'
.sprintf( $GLOBALS['strCantLoad'], 'DBG' )
.' <a href="./Documentation.html#faqdbg" target="documentation">'
.$GLOBALS['strDocu'] . '</a>'
.'</div>';
} else {
$GLOBALS['DBG'] = true;
}
}
?>