하단 PC 모바일 보기 버튼 링크 수정

This commit is contained in:
chicpro
2014-08-20 16:18:40 +09:00
parent cb6fe2d32c
commit 6bb27c3b24
2 changed files with 4 additions and 2 deletions

View File

@ -42,7 +42,8 @@ if (G5_IS_MOBILE) {
<?php
if(G5_USE_MOBILE && !G5_IS_MOBILE) {
$seq = 0;
$href = $_SERVER['PHP_SELF'];
$p = parse_url(G5_URL);
$href = $p['scheme'].'://'.$p['host'].$_SERVER['PHP_SELF'];
if($_SERVER['QUERY_STRING']) {
$sep = '?';
foreach($_GET as $key=>$val) {