$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()) {
// 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