<?php
/*
* AWS XMS - Online Web Development
*
* Copyright (c) 2010 Cezar Lucan hide@address.com
* Dual licensed under the MIT and GPL licenses.
* http://www.aws-dms.com
*
* Date: 2010-09-12
*/
session_start();
if($_GET["lang"])
{
$_SESSION["lang"] = $_GET["lang"];
if($_GET["redirect"])
header("Location: ".$_GET["redirect"]);
else
header("Location: ".$_SERVER['HTTP_REFERER']);
};
?>