]> git.mxchange.org Git - mailer.git/blobdiff - sponsor_ref.php
Functions imported, some dev-scripts added
[mailer.git] / sponsor_ref.php
index e6326473af6798e87ae9030851126d786cd47b7b..cd35f52e164e2ba1a11f05ca2cbb5de00436366b 100644 (file)
  ************************************************************************/
 
 // 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_once("inc/config.php");
+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;