<?php
define('SERVER_ROOT',$_SERVER['DOCUMENT_ROOT']);

if(isset($_GET['t']))
{
	header("Location: actions.php?action_verifyemail&token=" . $_GET['t']);
}
else 
{
	include_once(SERVER_ROOT."/../classes/error.php");
	include_once(SERVER_ROOT."/../classes/view.php");
	include_once(SERVER_ROOT."/../classes/controller.php");
	
	$vf = new ViewFactory();
	$v = $vf->ViewGet("people","verify");
	echo $v->Render();
}
?>
