diff --git a/bbs/login.php b/bbs/login.php index 69ee0530b..9a7691146 100644 --- a/bbs/login.php +++ b/bbs/login.php @@ -5,7 +5,7 @@ $g4['title'] = '로그인'; include_once('./_head.sub.php'); $p = parse_url($url); -if ((isset($p['scheme']) && $p['scheme']) || +if ((isset($p['scheme']) && $p['scheme']) || (isset($p['host']) && $p['host'])) { alert('url에 도메인을 지정할 수 없습니다.'); } @@ -43,10 +43,10 @@ if ($g4['https_url']) { $login_url = $urlencode; } -if ($g4['https_url']) - $login_action_url = "{$g4['https_url']}/$g4[bbs]/login_check.php"; +if (G4_HTTPS_URL) + $login_action_url = G4_HTTPS_URL."/$g4[bbs]/login_check.php"; else - $login_action_url = "{$g4['bbs_url']}/login_check.php"; + $login_action_url = G4_BBS_URL."/login_check.php"; // 로그인 스킨이 없는 경우 관리자 페이지 접속이 안되는 것을 막기 위하여 기본 스킨으로 대체 $login_file = $member_skin_path.'/login.skin.php'; diff --git a/bbs/search.php b/bbs/search.php index 410e022b8..8ff0e2c5b 100644 --- a/bbs/search.php +++ b/bbs/search.php @@ -187,7 +187,7 @@ if ($stx) { if ($read_level[$idx] <= $member['mb_level']) { - $content = cut_str(get_text($row['wr_content']),300,"…"); + $content = cut_str(get_text(strip_tags($row['wr_content'])),300,"…"); if (strstr($sfl, 'wr_content')) $content = search_font($stx, $content); } diff --git a/head.php b/head.php index 226e961a4..cb23f8712 100644 --- a/head.php +++ b/head.php @@ -34,7 +34,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
사이트 내 전체검색 -
+ diff --git a/shop/list.sort.php b/shop/list.sort.php index ed05031fa..2b9f3193c 100644 --- a/shop/list.sort.php +++ b/shop/list.sort.php @@ -1,5 +1,5 @@
@@ -21,7 +21,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 - +