Cookie code removed, rewritten, internal URLs are now relative (see LOAD_URL()),...
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index 4b34282a65e9fbc606c9057b698d6618fd81e609..7f9202725661bbfff87cdb14b4274b3950ca65e7 100644 (file)
--- a/ref.php
+++ b/ref.php
@@ -50,11 +50,11 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        switch (getConfig('refid_target'))
        {
        case "register":
-               $URL = URL."/modules.php?module=index&what=register&refid=";
+               $URL = "modules.php?module=index&what=register&refid=";
                break;
 
        case "index":
-               $URL = URL."/index.php?refid=";
+               $URL = "index.php?refid=";
                break;
        }
 
@@ -98,7 +98,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                } // END - if
        } else {
                // No refid and we add our refid (don't forget to set $def_refid!)
-               $URL = URL."/index.php";
+               $URL = "index.php";
        }
 
        // Load the URL