경로 및 전체테이블명 변경
This commit is contained in:
@ -6,7 +6,7 @@ include_once("./_common.php");
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
// 상단, 하단 파일경로 필드 추가
|
||||
$sql = " ALTER TABLE `$g4[yc4_content_table]` ADD `co_include_head` VARCHAR( 255 ) NOT NULL ,
|
||||
$sql = " ALTER TABLE `$g4[shop_content_table]` ADD `co_include_head` VARCHAR( 255 ) NOT NULL ,
|
||||
ADD `co_include_tail` VARCHAR( 255 ) NOT NULL ";
|
||||
sql_query($sql, false);
|
||||
|
||||
@ -17,7 +17,7 @@ if ($w == "u")
|
||||
$html_title .= " 수정";
|
||||
$readonly = " readonly";
|
||||
|
||||
$sql = " select * from $g4[yc4_content_table] where co_id = '$co_id' ";
|
||||
$sql = " select * from $g4[shop_content_table] where co_id = '$co_id' ";
|
||||
$co = sql_fetch($sql);
|
||||
if (!$co[co_id])
|
||||
alert("등록된 자료가 없습니다.");
|
||||
|
||||
Reference in New Issue
Block a user