X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_ref.php;h=6550c315912e23b979a43c7384b7a7d68832747c;hp=762e38bf3ebeff23e1f61ee756f5a1e5fd416207;hb=ccc4a69ce9b17aa8d7b1554a3b2b017db091821b;hpb=05e9ddd952a47d42b9970a9d2afef20d77d3aecf diff --git a/sponsor_ref.php b/sponsor_ref.php index 762e38bf3e..6550c31591 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -49,7 +49,7 @@ $GLOBALS['module'] = 'sponsor_ref'; $GLOBALS['output_mode'] = '0'; // Load the required file(s) -require('inc/config.php'); +require('inc/config-global.php'); // Redirect only to registration page when this script is installed if (isInstalled()) { @@ -59,7 +59,7 @@ if (isInstalled()) { // Get referal ID from ref or refid variable $ref = 0; if (REQUEST_ISSET_GET(('ref'))) $ref = bigintval(REQUEST_GET('ref')); - elseif (REQUEST_ISSET_GET(('refid'))) $ref = bigintval(REQUEST_GET('refid')); + elseif (REQUEST_ISSET_GET(('refid'))) $ref = bigintval(REQUEST_GET('refid')); if (!empty($ref)) { // We have an refid here. So we simply add it