Skip to content

Commit

Permalink
php deprecated 사용되는 코드 재수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Mar 3, 2020
1 parent b28796d commit a8292a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion adm/board_form_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
$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;

Expand Down
2 changes: 1 addition & 1 deletion g4_import_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ function noRefresh()
// 게시판 테이블 생성
$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;

Expand Down
2 changes: 1 addition & 1 deletion install/install_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
// 게시판 테이블 생성
$file = file("../".G5_ADMIN_DIR."/sql_write.sql");
$file = get_db_create_replace($file);
$sql = implode('\n', $file);
$sql = implode("\n", $file);

$create_table = $table_prefix.'write_' . $tmp_bo_table[$i];

Expand Down

0 comments on commit a8292a5

Please sign in to comment.