Merge branch 'master' of github.com:gnuboard/g5

This commit is contained in:
whitedot
2014-01-08 10:14:46 +09:00
5 changed files with 17 additions and 31 deletions

View File

@ -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;
}
?>
<!-- 상단 시작 { -->

View File

@ -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');
?>

View File

@ -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();

View File

@ -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 {
@ -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)

View File

@ -1,11 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/tail.php');
return;
}
// 하단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
if ($config['cf_include_tail']) {
if (!@include_once($config['cf_include_tail'])) {
@ -13,6 +8,11 @@ if ($config['cf_include_tail']) {
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/tail.php');
return;
}
?>
</div>
</div>