require("inc/config.php");
// Redirect only to registration page when this script is installed
-if (defined('mxchange_installed') && (isBooleanConstantAndTrue(mxchange_installed))) {
+if (isBooleanConstantAndTrue('mxchange_installed')) {
// Base URL for redirection
- $URL = "modules.php?module=index&what=sponsor_reg&refid=";
+ $URL = "modules.php?module=index&what=sponsor_reg&refid=";
// Get referal ID from ref or refid variable
$ref = 0;