diff --git a/adm/board_form_update.php b/adm/board_form_update.php index b0bbf6889..bea127247 100644 --- a/adm/board_form_update.php +++ b/adm/board_form_update.php @@ -204,7 +204,7 @@ if ($w == '') { $file = file('./sql_write.sql'); $file = get_db_create_replace($file); - $sql = implode($file, "\n"); + $sql = implode("\n", $file); $create_table = $g5['write_prefix'] . $bo_table; diff --git a/g4_import_run.php b/g4_import_run.php index 6681df0e8..a0515bbaa 100644 --- a/g4_import_run.php +++ b/g4_import_run.php @@ -337,7 +337,7 @@ for($i=0; $row=sql_fetch_array($result); $i++) { // 게시판 테이블 생성 $bo_table = $row['bo_table']; $file = file(G5_ADMIN_PATH.'/sql_write.sql'); - $sql = implode($file, "\n"); + $sql = implode("\n", $file); $create_table = $g5['write_prefix'] . $bo_table; diff --git a/install/install_db.php b/install/install_db.php index bc0207763..89e78a8ec 100644 --- a/install/install_db.php +++ b/install/install_db.php @@ -292,7 +292,7 @@ for ($i=0; $i