mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Show SQL query string array if you are logged in as admin below the footer.
This commit is contained in:
@@ -7,4 +7,10 @@
|
||||
echo 'Server date and clock is: '. getClock(false, true) .' Page generated in '. elapsedTime() .' seconds. Q: '.$aacQueries;
|
||||
?>
|
||||
<a href="http://www.css3templates.co.uk">Design: css3templates.co.uk</a>. Engine: <a href="credits.php">Znote AAC</a></p>
|
||||
</footer>
|
||||
</footer>
|
||||
<?php // If you are logged in as an admin, display SQL queries below footer.
|
||||
if (user_logged_in() && is_admin($user_data)) {
|
||||
global $accQueriesData;
|
||||
data_dump($accQueriesData, false, "Logged in as Admin: SQL queries executed:");
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user