-$GLOBALS['module'] = 'ref';
-$GLOBALS['output_mode'] = -1;
-
-// Load the required file(s)
-require('inc/config-global.php');
-
-// Redirect only to registration page when this script is installed
-if (isInstalled()) {
- // Base URL for redirection
- switch (getConfig('refid_target'))
- {
- case 'register':
- $URL = 'modules.php?module=index&what=register&refid=';
- break;