Current File : /home/inlingua/www/noida/icentex_noida/pg-2APR/check_in.php
<?php
ob_start(); 
session_start();

if(in_array("fd_payment_gateway",$_SESSION['allowed_modules'])  || in_array("fd_reports",$_SESSION['allowed_modules']))
{
$allow="Yes";
}
else
{
$allow="No";
}


if($_SESSION['id']=="" || $allow!="Yes")
{
header("Location: ../index.php");
}
else
{
echo"";
}
//print_r($_SESSION);
/*$_SESSION['id']=$objectData['recNo'];
$_SESSION['username']=$objectData['username'];
$_SESSION['usertype']=$objectData['usertype'];
header("Location: admin.php");*/

?>