$GLOBALS['action'] = "";
// Set module
-$GLOBALS['module'] = "click"; $GLOBALS['output_mode'] = -1;
+$GLOBALS['module'] = "click";
+$GLOBALS['output_mode'] = -1;
// Load the required file(s)
require("inc/config.php");
$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