001002003004005006007008009010011012013014015
<?php // (2018.3.15, 차재복, Cha Jae Bok, http://www.ktword.co.kr) # 모바일 셋팅 ------------------------------------------------- // 모바일 여부 확인 루틴 (출처 : http://mobiledetect.net/) require_once '../../mobiledetect/Mobile_Detect.php'; $detect = new Mobile_Detect; // mobile 이면, 모바일 디스플레이 셋팅 및 화면 폭 넓힘 if ( $detect->isMobile() and !($detect->isTablet())) { // 순수 모바일 기기 (not tablet) echo "<meta name='viewport' content='user-scalable=yes, width=device-width, initial-scale=1.0' />"; echo "<style type='text/css'> body { width : 180%; } </style>"; } ?>