<?php
/***************************************************************************
* PrepareHttp.php
*
* begin : June 2004
* version : 27 July 2006
* copyright : (C) 2004,2006 grandolini.net
*
* Prepare the $http variable to load a page
*
***************************************************************************/
$http_header='Location: http://'.$_SERVER[HTTP_HOST].'/';
if($_SESSION[misc][folder]!='' && $_SESSION[misc][folder]!='/')
{
$http_header.=$_SESSION[misc][folder].'/';
}
?>