// Load the required file(s)
require('inc/config-global.php');
+// Set content type for e.g. search engines
+if (isSpider()) setContentType('text/html');
+
// Base URL for redirection
$URL = 'modules.php?module=index&what=sponsor_reg&refid=';
$URL .= $GLOBALS['refid'];
} else {
// No refid so we redirect to the index page
- $URL = 'index.php';
+ $URL = 'modules.php?module=index';
}
// Load the URL