짧은 주소 url 수정

This commit is contained in:
thisgun committed 2018-09-20 09:29:08 +09:00
1 parent 7547b6e0ab
commit cbeef0e453
22 files changed
+542 -144

No files matched your search

+7 -3
View File
@@ -6,14 +6,18 @@ if( !isset($g5['content_table']) ){
die('<meta charset="utf-8">관리자 모드에서 게시판관리->내용 관리를 먼저 확인해 주세요.');
}
// 내용
if($co_seo_title){
$co = get_content_by_field($g5['content_table'], 'content', 'co_seo_title', $co_seo_title);
} else {
$co = get_content_db($co_id);
}
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/content.php');
return;
}
// 내용
$sql = " select * from {$g5['content_table']} where co_id = '$co_id' ";
$co = sql_fetch($sql);
if (!$co['co_id'])
alert('등록된 내용이 없습니다.');