]> git.mxchange.org Git - mailer.git/blobdiff - inc/footer.php
constant fix
[mailer.git] / inc / footer.php
index 42b4e4315d91a81d1c3137dd3b5bb23e71b95c71..47dbf47cfcc443bba228003421028fcdca24312f 100644 (file)
@@ -48,10 +48,16 @@ if (($footer != "1") && ($footer != "2") && ($CSS != "1")) {
        }
 
        // Shall we display the copyright notice?
-       if ((empty($frame)) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (WRITE_FOOTER == true)) {
+       if ((empty($frame)) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (isBooleanConstantAndTrue('WRITE_FOOTER'))) {
                LOAD_TEMPLATE("copyright");
        }
 
+       // Shall we display the parsing time and number of queries?
+       if ((isset($_CONFIG['show_timings'])) && ($_CONFIG['show_timings'] == 'Y')) {
+               // Then display it here
+               DISPLAY_PARSING_TIME_FOOTER();
+       }
+
        // Load page footer
        LOAD_TEMPLATE("page_footer");