%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/riacommer/domains/gasworld.com.my/private_html/
Upload File :
Create Path :
Current File : /home/riacommer/domains/gasworld.com.my/private_html/security.php

<?php
/*session_start();
if(isset($_SESSION["customer_id"])){
	if($_SESSION["customer_id"] == ""){
		header("Location: http://".$_SERVER['HTTP_HOST'].str_replace("/api", "", dirname($_SERVER['PHP_SELF']))."login.php");
	}
} else {
	header("Location: http://".$_SERVER['HTTP_HOST'].str_replace("/api", "", dirname($_SERVER['PHP_SELF']))."login.php");
}*/


$isLogin=false;
if(isset($_COOKIE['emailuid'])){
	if($_COOKIE['emailuid']!=""){
		$isLogin = true;
	}
}
if(!$isLogin){
	header("Location: http://".$_SERVER['HTTP_HOST'].str_replace("/api", "", dirname($_SERVER['PHP_SELF']))."login.php");
}
?>

Zerion Mini Shell 1.0