From 7f669023f67d42a7b5772830da20ff5bb9ad927c Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 6 Jan 2014 13:16:36 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=ED=95=A8=EC=88=98=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 910048879..0fddb838e 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2488,20 +2488,6 @@ function module_exec_check($exe, $type) return $error; } -// 도로명 상세 주소처리 -function get_address2($addr2, $addr3) -{ - if($addr3) { - if($addr2) { - $addr2 .= ' '.$addr3; - } else { - $addr2 = $addr3; - } - } - - return $addr2; -} - // 도로명주소 출력 // 주소출력 function print_address($addr1, $addr2, $addr3) From 4ed1743a718c108139ebccdce562e069ff9d505f Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 6 Jan 2014 13:29:59 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=EC=9D=B8=EC=A6=9D=EB=AA=A8=EB=93=88=20?= =?UTF-8?q?=EC=8B=A4=ED=96=89=EA=B6=8C=ED=95=9C=EC=B2=B4=ED=81=AC=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 0fddb838e..299fd28e4 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2449,7 +2449,7 @@ function module_exec_check($exe, $type) // 바이너리 파일인지 if($is_linux) { $search = false; - exec('whoami', $out); + exec('ls', $out); if(empty($out)) { $error = 'exec 함수의 실행권한이 없습니다. 서버관리자에게 문의해 주십시오.'; } else { From 491f012828ed758e81d9925db9223b3588fa5460 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 6 Jan 2014 17:28:58 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=ED=95=9C=20include=20=ED=8C=8C=EC=9D=BC=EC=9D=B4=20?= =?UTF-8?q?=EB=A8=BC=EC=A0=80=20=EC=8B=A4=ED=96=89=EB=90=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- head.php | 10 +++++----- index.php | 10 +++++----- tail.php | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/head.php b/head.php index c90509b42..c0cead9d5 100644 --- a/head.php +++ b/head.php @@ -9,11 +9,6 @@ include_once(G5_LIB_PATH.'/visit.lib.php'); include_once(G5_LIB_PATH.'/connect.lib.php'); include_once(G5_LIB_PATH.'/popular.lib.php'); -if (G5_IS_MOBILE) { - include_once(G5_MOBILE_PATH.'/head.php'); - return; -} - // 상단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. if ($config['cf_include_head']) { if (!@include_once($config['cf_include_head'])) { @@ -21,6 +16,11 @@ if ($config['cf_include_head']) { } return; // 이 코드의 아래는 실행을 하지 않습니다. } + +if (G5_IS_MOBILE) { + include_once(G5_MOBILE_PATH.'/head.php'); + return; +} ?> diff --git a/index.php b/index.php index e5cc9c01b..32e563fe8 100644 --- a/index.php +++ b/index.php @@ -2,11 +2,6 @@ define('_INDEX_', true); include_once('./_common.php'); -if (G5_IS_MOBILE) { - include_once(G5_MOBILE_PATH.'/index.php'); - return; -} - // 초기화면 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. if ($config['cf_include_index']) { if (!@include_once($config['cf_include_index'])) { @@ -15,6 +10,11 @@ if ($config['cf_include_index']) { return; // 이 코드의 아래는 실행을 하지 않습니다. } +if (G5_IS_MOBILE) { + include_once(G5_MOBILE_PATH.'/index.php'); + return; +} + include_once('./_head.php'); ?> diff --git a/tail.php b/tail.php index aa6684787..0c06084f9 100644 --- a/tail.php +++ b/tail.php @@ -1,11 +1,6 @@ From 24130959c9c5cc15e1791077f2581ae45e77dc03 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 7 Jan 2014 11:00:01 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=EC=A3=BC=EC=86=8C=EA=B2=80=EC=83=89=20?= =?UTF-8?q?=EB=B3=B4=EC=95=88=EC=84=9C=EB=B2=84=20=EB=8C=80=EC=9D=91?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/zip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/zip.js b/js/zip.js index 0068e0fc3..8d110d695 100644 --- a/js/zip.js +++ b/js/zip.js @@ -86,7 +86,7 @@ function search_call(page) if(!page) page = 1; - $.getJSON("http://juso.sir.co.kr/search.php?sido="+sido+"&gugun="+gugun+"&page="+page+"&q="+q+"&callback=?", + $.getJSON("//juso.sir.co.kr/search.php?sido="+sido+"&gugun="+gugun+"&page="+page+"&q="+q+"&callback=?", function(data) { $("#result").empty();