diff --git a/.gitignore b/.gitignore index b70571ded..1fbc82944 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ test.php itzimara* nemoluv* cheditor* +*.key diff --git a/adm/board_form.php b/adm/board_form.php index 75e3b5b2c..ecb8df6ef 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -54,7 +54,7 @@ if (!isset($board['bo_use_sns'])) { $result = sql_query(" select bo_table from `{$g4['board_table']}` "); for ($i=0; $row=sql_fetch_array($result); $i++) { - sql_query(" ALTER TABLE `{$g4['write_prefix']}{$row['bo_table']}` + sql_query(" ALTER TABLE `{$g4['write_prefix']}{$row['bo_table']}` ADD `wr_facebook_user` VARCHAR(255) NOT NULL DEFAULT '' AFTER `wr_ip`, ADD `wr_twitter_user` VARCHAR(255) NOT NULL DEFAULT '' AFTER `wr_facebook_user`, ADD `wr_me2day_user` VARCHAR(255) NOT NULL DEFAULT '' AFTER `wr_twitter_user` ", false); @@ -68,7 +68,7 @@ if (!isset($board['bo_use_list_file'])) { $result = sql_query(" select bo_table from `{$g4['board_table']}` "); for ($i=0; $row=sql_fetch_array($result); $i++) { - sql_query(" ALTER TABLE `{$g4['write_prefix']}{$row['bo_table']}` + sql_query(" ALTER TABLE `{$g4['write_prefix']}{$row['bo_table']}` ADD `wr_file` TINYINT NOT NULL DEFAULT '0' AFTER `wr_datetime` ", false); } } @@ -599,13 +599,13 @@ $pg_anchor = '