add editorconfig, fix syntax error only
This commit is contained in:
parent
c670d0e320
commit
3f2ef77227
3 changed files with 29 additions and 6 deletions
23
.editorconfig
Normal file
23
.editorconfig
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[**.js]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[**.css]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
||||
|
||||
[**.php]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[**.html]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
||||
|
|
@ -128,7 +128,7 @@ for($i=0;$i<count($_POST['chk_bn_id']);$i++)
|
|||
$row = sql_fetch($sql);
|
||||
|
||||
// 원글의 코멘트 숫자를 감소
|
||||
sql_query(" update $write_table set wr_comment = wr_comment - 1, wr_last = '$row['wr_last']' where wr_id = '{$write['wr_parent']}' ");
|
||||
sql_query(" update $write_table set wr_comment = wr_comment - 1, wr_last = '{$row['wr_last']}' where wr_id = '{$write['wr_parent']}' ");
|
||||
|
||||
// 코멘트 숫자 감소
|
||||
sql_query(" update {$g5['board_table']} set bo_count_comment = bo_count_comment - 1 where bo_table = '$bo_table' ");
|
||||
|
|
@ -144,4 +144,4 @@ foreach ($save_bo_table as $key=>$value) {
|
|||
}
|
||||
|
||||
goto_url("new.php?sfl=$sfl&stx=$stx&page=$page");
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -260,10 +260,10 @@ if ($w == '' || $w == 'r') {
|
|||
wr_last = '".G5_TIME_YMDHIS."',
|
||||
wr_ip = '{$_SERVER['REMOTE_ADDR']}',
|
||||
|
||||
ch_id = '$character['ch_id']',
|
||||
ch_side = '$character['ch_side']',
|
||||
ch_class = '$character['ch_class']',
|
||||
ti_id = '$character['ch_title']',
|
||||
ch_id = '{$character['ch_id']}',
|
||||
ch_side = '{$character['ch_side']}',
|
||||
ch_class = '{$character['ch_class']}',
|
||||
ti_id = '{$character['ch_title']}',
|
||||
wr_width = '$wr_width',
|
||||
wr_height = '$wr_height',
|
||||
wr_url = '$wr_url',
|
||||
|
|
|
|||
Loading…
Reference in a new issue