다음주소API 관련 스크립트 코드 및 기타 코드 수정

This commit is contained in:
chicpro
2014-08-20 16:55:18 +09:00
parent e891791f86
commit 5a37e8243d
7 changed files with 57 additions and 73 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) {