diff --git a/f_install/j_setup_db.php b/f_install/j_setup_db.php index 9db7c2a9..ad9b1f14 100644 --- a/f_install/j_setup_db.php +++ b/f_install/j_setup_db.php @@ -216,6 +216,13 @@ $result = Util::generateFileUsingSimpleTemplate( true ); +$result = Util::generateFileUsingSimpleTemplate( + __dir__.'/templates/menu.orig.js', + ROOT.'/d_shared/menu.js', + [], + true +); + if ($result !== true) { Json::die([ 'result'=>false, diff --git a/f_install/templates/menu.orig.js b/f_install/templates/menu.orig.js new file mode 100644 index 00000000..308daf9d --- /dev/null +++ b/f_install/templates/menu.orig.js @@ -0,0 +1,8 @@ +window.sammo_menu = [ + ['/bbs/board', '삼모게시판', '_blank'], + ['/bbs/tip', '팁/강좌', '_blank'], + ['/bbs/news', '삼국 일보', '_blank'], + ['/bbs/history2', '개인 열전', '_blank'], + ['/bbs/history3', '국가 열전', '_blank'], + ['/bbs/patch', '패치 내역', '_blank'] +]; \ No newline at end of file diff --git a/index.php b/index.php index 30eaadc3..c2f0cce0 100644 --- a/index.php +++ b/index.php @@ -29,7 +29,10 @@ if ($session->isLoggedIn()) { + + +
+