Location: PHPKode > projects > CoreAsset > coreasset/rdirect.php
<?php
session_start();
require 'libs/Smarty.class.php';
//session_start();
$smarty = new Smarty;
$smarty->compile_check = true;
$smarty->debugging = false;
$title	  ="::: Install :::";
$smarty->assign('title',$title);
	// Date & Time to be dispalyed on the header 
$date_time	= date("h:i:s A")." ".date("d-m-Y");
$smarty->assign('date_time',$date_time);
// Done
$status						= $_REQUEST['status'];
	if(isset($_REQUEST['status']))
	{
	 $smarty->assign('status',$_REQUEST['status']);
		if($status == 0)
			{
				
				foreach($_SESSION as $n=>$v)
					{
						 unset($_SESSION[$n]);
					}
			}
	 }
	 $smarty->display('rdirect.tpl');
?>
Return current item: CoreAsset