-$GLOBALS['module'] = "ref"; $CSS = -1;
-
-// Load the required file(s)
-require("inc/config.php");
-
-// Redirect only to registration page when this script is installed
-if (isBooleanConstantAndTrue('mxchange_installed')) {
- // Base URL for redirection
- switch ($_CONFIG['refid_target'])
- {
- case "register":
- $URL = URL."/modules.php?module=index&what=register&refid=";
- break;
-
- case "index":
- $URL = URL."/index.php?refid=";
- break;
- }