-require("inc/config.php");
-
-// Redirect only to registration page when this script is installed
-if (isInstalled()) {
- // Base URL for redirection
- $URL = "modules.php?module=index&what=sponsor_reg&refid=";
-
- // 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'));