summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 9cd78d94..68f92a50 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -208,6 +208,9 @@ function show_header() {
function show_footer() {
require_once Config::get('prefix') . '/templates/footer.inc.php';
+ if ($_REQUEST['profiling']) {
+ Dba::show_profile();
+ }
} // show_footer