xhtml typo
[phpmyadmin/crack.git] / footer.inc.php3
blob029ea4fd0f5399946f4711f2962b96c56a07cc31
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
5 // In this file you may add PHP or HTML statements that will be used to define
6 // the footer for phpMyAdmin pages.
8 /**
9 * Close MySql non-persistent connections
11 if (isset($GLOBALS['dbh']) && $GLOBALS['dbh']) {
12 @mysql_close($GLOBALS['dbh']);
14 if (isset($GLOBALS['userlink']) && $GLOBALS['userlink']) {
15 @mysql_close($GLOBALS['userlink']);
19 </body>
21 </html>
22 <?php
24 /**
25 * Generates profiling data if requested
27 if (isset($GLOBALS['cfg']['DBG']['enable'])
28 && $GLOBALS['cfg']['DBG']['enable']
29 && isset($GLOBALS['cfg']['DBG']['profile']['enable'])
30 && $GLOBALS['cfg']['DBG']['profile']['enable']) {
31 //run the basic setup code first
32 include('./libraries/dbg/setup.php3');
33 //if the setup ran fine, then do the profiling
34 if (isset($GLOBALS['DBG']) && $GLOBALS['DBG']) {
35 include('./libraries/dbg/profiling.php3');
36 dbg_dump_profiling_results();
40 /**
41 * Sends bufferized data
43 if (isset($GLOBALS['cfg']['OBGzip']) && $GLOBALS['cfg']['OBGzip']
44 && isset($GLOBALS['ob_mode']) && $GLOBALS['ob_mode']) {
45 PMA_outBufferPost($GLOBALS['ob_mode']);