$GLOBALS['action'] = "";
$GLOBALS['userid'] = 0;
+// Needed include files
+require("inc/config.php");
+
// Fix missing module to "index"
if (!REQUEST_ISSET_GET(('module'))) REQUEST_SET_GET('module', "index");
// Secure the module name (very important line!)
$GLOBALS['module'] = secureString(REQUEST_GET('module'));
-// Needed include files
-require("inc/config.php");
-
// Check if logged in
if (IS_MEMBER()) {
// Is still logged in so we welcome him with his name