X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_ref.php;h=cd35f52e164e2ba1a11f05ca2cbb5de00436366b;hp=065aef68686dd7f7fa04808821f62196cffb82a4;hb=5375b5f32f309a426ff7bc9c928f526ba0139e19;hpb=701f5ac005404813e0e546102b5821f2ba2af522 diff --git a/sponsor_ref.php b/sponsor_ref.php index 065aef6868..cd35f52e16 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -31,15 +31,15 @@ ************************************************************************/ // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) ) -require_once("inc/libs/security_functions.php"); +require("inc/libs/security_functions.php"); // Load the required file(s) 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;