<?PHP
ob_start();
session_start();
include("includes/globals.php.inc");
include("includes/functions.php");
include("lang/English.php");
if(strtolower($sxSetup['Language']) != 'english') include("lang/".$sxSetup['Language'].".php");
include("themes/$THEME_FOLDER/config.php.inc");
if($sxMaintenance)
die($sxLang['MessageMaintenance']);
else
{
if($sxValidationKey)
userValidation($sxValidationKey);
}
header("Location: ".$sxThemeConfig['Homepage']);
die();
ob_end_flush();
?>