From 8f5487db2b3a780a535237934a9b35c9c5fc8134 Mon Sep 17 00:00:00 2001 From: Znote Date: Sat, 24 Jul 2021 01:56:03 +0200 Subject: [PATCH] Admin - executed SQL queries overlay Allow admins to see executed SQL queries overlay Useful for testing and optimizing query usage on website --- config.php | 3 +++ layout/overall/footer.php | 51 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/config.php b/config.php index bc455bf..4450510 100644 --- a/config.php +++ b/config.php @@ -673,6 +673,9 @@ 'firstaccountName', 'secondaccountName', ); + // Allow admins to see executed SQL queries overlay + // Useful for testing and optimizing query usage on website + $config['admin_show_queries'] = true; // Built-in FORUM // Enable forum, enable guildboards, level to create threads/post in them diff --git a/layout/overall/footer.php b/layout/overall/footer.php index 1dc3a81..f3ac719 100644 --- a/layout/overall/footer.php +++ b/layout/overall/footer.php @@ -14,10 +14,57 @@ - - + + +
+ + +
+ +
+
+ +