// defined("APP") or die(); // Main Page // HTTPS 체크 및 URL 리턴 // if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == ""){ // $redirect = "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; // header("Location: $redirect"); // } ?>