wernis extension is now alpha code (only listing in admin area is missing), naming...
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index f4ee90afee8d6cefa90a7ad64d979a1c73c643f5..26e6087fe198b8e85b131eb31628497fe605b766 100644 (file)
--- a/ref.php
+++ b/ref.php
@@ -37,8 +37,6 @@ require_once("inc/libs/security_functions.php");
 // Init "action" and "what"
 global $what, $action;
 $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
-if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);
-if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);
 
 // Set module
 $GLOBALS['module'] = "ref"; $CSS = -1;
@@ -50,7 +48,7 @@ require ("inc/config.php");
 if (defined('mxchange_installed') && (mxchange_installed))
 {
        // Base URL for redirection
-       switch ($CONFIG['refid_target'])
+       switch ($_CONFIG['refid_target'])
        {
        case "register":
                $URL = URL."/modules.php?module=index&what=register&refid=";
@@ -98,7 +96,7 @@ if (defined('mxchange_installed') && (mxchange_installed))
  else
 {
        // You have to configure first!
-       LOAD_URL(URL."/install.php");
+       LOAD_URL("install.php");
 }
 
 // Really all done here... ;-)