' . "\n"; echo '' . $GLOBALS['strOpenNewWindow'] . '' . "\n"; echo '' . "\n"; } /** * Close database connections */ if ( isset( $GLOBALS['controllink'] ) && $GLOBALS['controllink'] ) { @PMA_DBI_close( $GLOBALS['controllink'] ); } if ( isset( $GLOBALS['userlink'] ) && $GLOBALS['userlink'] ) { @PMA_DBI_close( $GLOBALS['userlink'] ); } // Include possible custom footers require_once('./libraries/footer_custom.inc.php'); /** * Generates profiling data if requested */ if ( ! empty( $GLOBALS['cfg']['DBG']['enable'] ) && ! empty( $GLOBALS['cfg']['DBG']['profile']['enable'] ) ) { //run the basic setup code first require_once('./libraries/dbg/setup.php'); //if the setup ran fine, then do the profiling if ( ! empty( $GLOBALS['DBG'] ) ) { require_once('./libraries/dbg/profiling.php'); dbg_dump_profiling_results(); } } ?>