]> git.mxchange.org Git - mailer.git/blobdiff - inc/footer.php
All, except security block, include()/require() rewritten to own LOAD_INC()/LOAD_INC_...
[mailer.git] / inc / footer.php
index 84dcbd0eed2a28add65a4f50c860a42d715af54b..e2d31c6e6d9d3f2c32375c71ea804043cf53b0c1 100644 (file)
@@ -43,9 +43,9 @@ if (!defined('__SECURITY')) {
 // Footer disabled or already sent?
 if (($footer != "1") && ($footer != "2") && ($CSS != "1")) {
        // Output the generated HTML code or do nothing in direct-mode
-       if (getTotalFatalMessages() > 0) {
+       if (getTotalFatalErrors() > 0) {
                // Output fatal error messages
-               require_once(PATH."inc/fatal_errors.php");
+               LOAD_INC_ONCE("inc/fatal_errors.php");
        } // END - if
 
        // Shall we display the copyright notice?