]> git.mxchange.org Git - mailer.git/blobdiff - mailid_top.php
Fix for ticket #86, thx 2 profi-concept :)
[mailer.git] / mailid_top.php
index 1c9405aa35e33954a29f2f39ba1002091c8cabf8..cf0ec430c2162794333a642b0241cdcb3bc7e759 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -62,7 +62,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        // 01        1        12            2    2            21    1                   22     10
        if (($url_uid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErrors() == 0)) {
                // No image? Then output header
-               if ($mode != "img") require_once(PATH."inc/header.php");
+               if ($mode != "img") LOAD_INC_ONCE("inc/header.php");
 
                // Maybe he wants to confirm an email?
                if ($url_mid > 0) {
@@ -348,7 +348,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                // Insert footer if no image
                if ($mode != "img") {
                        // Write footer
-                       require_once(PATH."inc/footer.php");
+                       LOAD_INC_ONCE("inc/footer.php");
                } // END - if
        }
 } elseif ($mode != "img") {