Merge branch 'g5'

This commit is contained in:
chicpro
2014-08-20 16:20:42 +09:00
3 changed files with 18 additions and 17 deletions

View File

@ -3,8 +3,6 @@ $(function() {
if(!(g5_is_mobile && is_chrome)) { //모바일 크롬에서 먹통되는 현상이 있음 if(!(g5_is_mobile && is_chrome)) { //모바일 크롬에서 먹통되는 현상이 있음
$("html, body").addClass("daum_juso_body"); $("html, body").addClass("daum_juso_body");
} }
});
var el_id = document.getElementById("daum_juso_wrap"); var el_id = document.getElementById("daum_juso_wrap");
new daum.Postcode({ new daum.Postcode({
oncomplete: function(data) { oncomplete: function(data) {
@ -18,3 +16,4 @@ new daum.Postcode({
width : "100%", width : "100%",
height : "100%" height : "100%"
}).embed(el_id); }).embed(el_id);
});

View File

@ -27,7 +27,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<?php <?php
if(G5_USE_MOBILE && G5_IS_MOBILE) { if(G5_USE_MOBILE && G5_IS_MOBILE) {
$seq = 0; $seq = 0;
$href = $_SERVER['PHP_SELF']; $p = parse_url(G5_URL);
$href = $p['scheme'].'://'.$p['host'].$_SERVER['PHP_SELF'];
if($_SERVER['QUERY_STRING']) { if($_SERVER['QUERY_STRING']) {
$sep = '?'; $sep = '?';
foreach($_GET as $key=>$val) { foreach($_GET as $key=>$val) {

View File

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