]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/order.php
HTML->XHTML converted
[mailer.git] / inc / modules / order.php
index 8df46153fc3307a7d9aea2c5b4d63e04d9ba9b85..db72794c44ab9e8be34336e6a59588f5ee76d323 100644 (file)
@@ -37,14 +37,14 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 } elseif ((!EXT_IS_ACTIVE("order")) && (!IS_ADMIN())) {
-       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "order");
+       addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "order");
        return;
 } elseif (!IS_MEMBER()) {
        // Sorry, no guest access!
-       $URL = URL."/modules.php?module=index";
+       $URL = "modules.php?module=index";
 } elseif (empty($_GET['order'])) {
        // You cannot call this module directly!
-       $URL = URL."/modules.php?module=login&what=order";
+       $URL = "modules.php?module=login&what=order";
 }
 
 // When URL is empty nothing bad happend here
@@ -110,7 +110,7 @@ if (empty($URL)) {
                LOAD_TEMPLATE("member_order-back", false);
        } else {
                // Matching line not found or already "placed" in send queue
-               LOAD_URL(URL."/modules.php?module=login");
+               LOAD_URL("modules.php?module=login");
        }
 } else {
        // Redirect...