diff --git a/che_close/func.php b/che_close/func.php index 7350c1c3..9281a3eb 100644 --- a/che_close/func.php +++ b/che_close/func.php @@ -2879,7 +2879,7 @@ function pushProcessLog($connect, $log) { function delStepLog() { $date = date('Y_m_d'); - @unlink("logs/_{$date}_steplog.txt"); + @unlink(realpath(dirname(__FILE__))."/logs/_{$date}_steplog.txt"); } function pushStepLog($log) { diff --git a/che_close/func_tournament.php b/che_close/func_tournament.php index 569fc988..c18c239a 100644 --- a/che_close/func_tournament.php +++ b/che_close/func_tournament.php @@ -238,12 +238,12 @@ function printFighting($tournament, $phase) { function startTournament($connect, $auto, $type) { for($i=0; $i < 8; $i++) { - @unlink("logs/fight{$i}.txt"); - @unlink("logs/fight1{$i}.txt"); - @unlink("logs/fight2{$i}.txt"); - @unlink("logs/fight3{$i}.txt"); - @unlink("logs/fight4{$i}.txt"); - @unlink("logs/fight5{$i}.txt"); + @unlink(realpath(dirname(__FILE__))."/logs/fight{$i}.txt"); + @unlink(realpath(dirname(__FILE__))."/logs/fight1{$i}.txt"); + @unlink(realpath(dirname(__FILE__))."/logs/fight2{$i}.txt"); + @unlink(realpath(dirname(__FILE__))."/logs/fight3{$i}.txt"); + @unlink(realpath(dirname(__FILE__))."/logs/fight4{$i}.txt"); + @unlink(realpath(dirname(__FILE__))."/logs/fight5{$i}.txt"); } switch($auto) { diff --git a/che_close/install_ok.php b/che_close/install_ok.php index 9ae5d345..762a170f 100644 --- a/che_close/install_ok.php +++ b/che_close/install_ok.php @@ -15,9 +15,9 @@ $connect = MYDB_connect($hostname,$user_id,$password) or Error("MySQL-DB Connect if(MYDB_error($connect)) Error(__LINE__.MYDB_error($connect),""); MYDB_select_db($dbname, $connect) or Error("MySQL-DB Select
Error!!!",""); -delInDir("logs"); -delInDir("data/session"); -@unlink("data/connected.php"); +delInDir(realpath(dirname(__FILE__))."/logs"); +delInDir(realpath(dirname(__FILE__))."/data/session"); +@unlink(realpath(dirname(__FILE__))."/data/connected.php"); // 관리자 테이블 삭제 if(isTable($connect, "game", $dbname)) @MYDB_query("drop table game", $connect) or Error("drop ".MYDB_error($connect),""); diff --git a/i_entrance/adminPost.php b/i_entrance/adminPost.php index 14b36414..2c7e7a60 100644 --- a/i_entrance/adminPost.php +++ b/i_entrance/adminPost.php @@ -45,19 +45,19 @@ if($member['GRADE'] < 6) { $serverDir = $_serverDirs[$server]; if($select == 0) { - rename(ROOT.W.$serverDir, ROOT.W.$serverDir.'_close'); - rename(ROOT.W.$serverDir.'_rest', ROOT.W.$serverDir); + rename(realpath(dirname(__FILE__)).W.ROOT.W.$serverDir, realpath(dirname(__FILE__)).W.ROOT.W.$serverDir.'_close'); + rename(realpath(dirname(__FILE__)).W.ROOT.W.$serverDir.'_rest', realpath(dirname(__FILE__)).W.ROOT.W.$serverDir); $response['result'] = 'SUCCESS'; } elseif($select == 1) { - if(file_exists(ROOT.W.$serverDir.'_close'.W.D_SETTING.W.SET.PHP)){ - @unlink(ROOT.W.$serverDir.'_close'.W.D_SETTING.W.SET.PHP); + if(file_exists(realpath(dirname(__FILE__)).W.ROOT.W.$serverDir.'_close'.W.D_SETTING.W.SET.PHP)){ + @unlink(realpath(dirname(__FILE__)).W.ROOT.W.$serverDir.'_close'.W.D_SETTING.W.SET.PHP); } $response['installURL'] = ROOT.W."{$serverDir}_close/install.php"; $response['result'] = 'SUCCESS'; } elseif($select == 2) { - rename(ROOT.W.$serverDir, ROOT.W.$serverDir."_rest"); - rename(ROOT.W.$serverDir."_close", ROOT.W.$serverDir); + rename(realpath(dirname(__FILE__)).W.ROOT.W.$serverDir, realpath(dirname(__FILE__)).W.ROOT.W.$serverDir."_rest"); + rename(realpath(dirname(__FILE__)).W.ROOT.W.$serverDir."_close", realpath(dirname(__FILE__)).W.ROOT.W.$serverDir); $response['result'] = 'SUCCESS'; } } else { diff --git a/twe_close/MYDB.php b/twe/MYDB.php similarity index 100% rename from twe_close/MYDB.php rename to twe/MYDB.php diff --git a/twe_close/_119.php b/twe/_119.php similarity index 100% rename from twe_close/_119.php rename to twe/_119.php diff --git a/twe_close/_119_b.php b/twe/_119_b.php similarity index 100% rename from twe_close/_119_b.php rename to twe/_119_b.php diff --git a/twe_close/_admin1.php b/twe/_admin1.php similarity index 100% rename from twe_close/_admin1.php rename to twe/_admin1.php diff --git a/twe_close/_admin1_submit.php b/twe/_admin1_submit.php similarity index 100% rename from twe_close/_admin1_submit.php rename to twe/_admin1_submit.php diff --git a/twe_close/_admin2.php b/twe/_admin2.php similarity index 100% rename from twe_close/_admin2.php rename to twe/_admin2.php diff --git a/twe_close/_admin2_submit.php b/twe/_admin2_submit.php similarity index 100% rename from twe_close/_admin2_submit.php rename to twe/_admin2_submit.php diff --git a/twe_close/_admin3.php b/twe/_admin3.php similarity index 100% rename from twe_close/_admin3.php rename to twe/_admin3.php diff --git a/twe_close/_admin3_submit.php b/twe/_admin3_submit.php similarity index 100% rename from twe_close/_admin3_submit.php rename to twe/_admin3_submit.php diff --git a/twe_close/_admin4.php b/twe/_admin4.php similarity index 100% rename from twe_close/_admin4.php rename to twe/_admin4.php diff --git a/twe_close/_admin4_submit.php b/twe/_admin4_submit.php similarity index 100% rename from twe_close/_admin4_submit.php rename to twe/_admin4_submit.php diff --git a/twe_close/_admin5.php b/twe/_admin5.php similarity index 100% rename from twe_close/_admin5.php rename to twe/_admin5.php diff --git a/twe_close/_admin5_submit.php b/twe/_admin5_submit.php similarity index 100% rename from twe_close/_admin5_submit.php rename to twe/_admin5_submit.php diff --git a/twe_close/_admin6.php b/twe/_admin6.php similarity index 100% rename from twe_close/_admin6.php rename to twe/_admin6.php diff --git a/twe_close/_admin7.php b/twe/_admin7.php similarity index 100% rename from twe_close/_admin7.php rename to twe/_admin7.php diff --git a/twe_close/_admin8.php b/twe/_admin8.php similarity index 100% rename from twe_close/_admin8.php rename to twe/_admin8.php diff --git a/twe_close/_simul.php b/twe/_simul.php similarity index 100% rename from twe_close/_simul.php rename to twe/_simul.php diff --git a/twe_close/a_bestGeneral.php b/twe/a_bestGeneral.php similarity index 100% rename from twe_close/a_bestGeneral.php rename to twe/a_bestGeneral.php diff --git a/twe_close/a_emperior.php b/twe/a_emperior.php similarity index 100% rename from twe_close/a_emperior.php rename to twe/a_emperior.php diff --git a/twe_close/a_emperior2.php b/twe/a_emperior2.php similarity index 100% rename from twe_close/a_emperior2.php rename to twe/a_emperior2.php diff --git a/twe_close/a_genList.php b/twe/a_genList.php similarity index 100% rename from twe_close/a_genList.php rename to twe/a_genList.php diff --git a/twe_close/a_hallOfFame.php b/twe/a_hallOfFame.php similarity index 100% rename from twe_close/a_hallOfFame.php rename to twe/a_hallOfFame.php diff --git a/twe_close/a_history.php b/twe/a_history.php similarity index 100% rename from twe_close/a_history.php rename to twe/a_history.php diff --git a/twe_close/a_kingdomList.php b/twe/a_kingdomList.php similarity index 100% rename from twe_close/a_kingdomList.php rename to twe/a_kingdomList.php diff --git a/twe_close/a_npcList.php b/twe/a_npcList.php similarity index 100% rename from twe_close/a_npcList.php rename to twe/a_npcList.php diff --git a/twe_close/a_status.php b/twe/a_status.php similarity index 100% rename from twe_close/a_status.php rename to twe/a_status.php diff --git a/twe_close/a_traffic.php b/twe/a_traffic.php similarity index 100% rename from twe_close/a_traffic.php rename to twe/a_traffic.php diff --git a/twe_close/a_vote.php b/twe/a_vote.php similarity index 100% rename from twe_close/a_vote.php rename to twe/a_vote.php diff --git a/twe_close/analytics.php b/twe/analytics.php similarity index 100% rename from twe_close/analytics.php rename to twe/analytics.php diff --git a/twe_close/b_auction.php b/twe/b_auction.php similarity index 100% rename from twe_close/b_auction.php rename to twe/b_auction.php diff --git a/twe_close/b_battleCenter.php b/twe/b_battleCenter.php similarity index 100% rename from twe_close/b_battleCenter.php rename to twe/b_battleCenter.php diff --git a/twe_close/b_betting.php b/twe/b_betting.php similarity index 100% rename from twe_close/b_betting.php rename to twe/b_betting.php diff --git a/twe_close/b_chiefboard.php b/twe/b_chiefboard.php similarity index 100% rename from twe_close/b_chiefboard.php rename to twe/b_chiefboard.php diff --git a/twe_close/b_chiefcenter.php b/twe/b_chiefcenter.php similarity index 100% rename from twe_close/b_chiefcenter.php rename to twe/b_chiefcenter.php diff --git a/twe_close/b_currentCity.php b/twe/b_currentCity.php similarity index 100% rename from twe_close/b_currentCity.php rename to twe/b_currentCity.php diff --git a/twe_close/b_dipcenter.php b/twe/b_dipcenter.php similarity index 100% rename from twe_close/b_dipcenter.php rename to twe/b_dipcenter.php diff --git a/twe_close/b_diplomacy.php b/twe/b_diplomacy.php similarity index 100% rename from twe_close/b_diplomacy.php rename to twe/b_diplomacy.php diff --git a/twe_close/b_genList.php b/twe/b_genList.php similarity index 100% rename from twe_close/b_genList.php rename to twe/b_genList.php diff --git a/twe_close/b_myBossInfo.php b/twe/b_myBossInfo.php similarity index 100% rename from twe_close/b_myBossInfo.php rename to twe/b_myBossInfo.php diff --git a/twe_close/b_myCityInfo.php b/twe/b_myCityInfo.php similarity index 100% rename from twe_close/b_myCityInfo.php rename to twe/b_myCityInfo.php diff --git a/twe_close/b_myGenInfo.php b/twe/b_myGenInfo.php similarity index 100% rename from twe_close/b_myGenInfo.php rename to twe/b_myGenInfo.php diff --git a/twe_close/b_myKingdomInfo.php b/twe/b_myKingdomInfo.php similarity index 100% rename from twe_close/b_myKingdomInfo.php rename to twe/b_myKingdomInfo.php diff --git a/twe_close/b_myPage.php b/twe/b_myPage.php similarity index 100% rename from twe_close/b_myPage.php rename to twe/b_myPage.php diff --git a/twe_close/b_nationboard.php b/twe/b_nationboard.php similarity index 100% rename from twe_close/b_nationboard.php rename to twe/b_nationboard.php diff --git a/twe_close/b_nationrule.php b/twe/b_nationrule.php similarity index 100% rename from twe_close/b_nationrule.php rename to twe/b_nationrule.php diff --git a/twe_close/b_tournament.php b/twe/b_tournament.php similarity index 100% rename from twe_close/b_tournament.php rename to twe/b_tournament.php diff --git a/twe_close/b_troop.php b/twe/b_troop.php similarity index 100% rename from twe_close/b_troop.php rename to twe/b_troop.php diff --git a/twe_close/c_auction.php b/twe/c_auction.php similarity index 100% rename from twe_close/c_auction.php rename to twe/c_auction.php diff --git a/twe_close/c_betting.php b/twe/c_betting.php similarity index 100% rename from twe_close/c_betting.php rename to twe/c_betting.php diff --git a/twe_close/c_chiefboard.php b/twe/c_chiefboard.php similarity index 100% rename from twe_close/c_chiefboard.php rename to twe/c_chiefboard.php diff --git a/twe_close/c_dipcenter.php b/twe/c_dipcenter.php similarity index 100% rename from twe_close/c_dipcenter.php rename to twe/c_dipcenter.php diff --git a/twe_close/c_double.php b/twe/c_double.php similarity index 100% rename from twe_close/c_double.php rename to twe/c_double.php diff --git a/twe_close/c_msgsubmit.php b/twe/c_msgsubmit.php similarity index 100% rename from twe_close/c_msgsubmit.php rename to twe/c_msgsubmit.php diff --git a/twe_close/c_myBossInfo.php b/twe/c_myBossInfo.php similarity index 100% rename from twe_close/c_myBossInfo.php rename to twe/c_myBossInfo.php diff --git a/twe_close/c_nationboard.php b/twe/c_nationboard.php similarity index 100% rename from twe_close/c_nationboard.php rename to twe/c_nationboard.php diff --git a/twe_close/c_nationrule.php b/twe/c_nationrule.php similarity index 100% rename from twe_close/c_nationrule.php rename to twe/c_nationrule.php diff --git a/twe_close/c_tournament.php b/twe/c_tournament.php similarity index 100% rename from twe_close/c_tournament.php rename to twe/c_tournament.php diff --git a/twe_close/c_troop.php b/twe/c_troop.php similarity index 100% rename from twe_close/c_troop.php rename to twe/c_troop.php diff --git a/twe_close/c_vacation.php b/twe/c_vacation.php similarity index 100% rename from twe_close/c_vacation.php rename to twe/c_vacation.php diff --git a/twe_close/c_vote.php b/twe/c_vote.php similarity index 100% rename from twe_close/c_vote.php rename to twe/c_vote.php diff --git a/twe_close/commandlist.php b/twe/commandlist.php similarity index 100% rename from twe_close/commandlist.php rename to twe/commandlist.php diff --git a/twe_close/confirm.png b/twe/confirm.png similarity index 100% rename from twe_close/confirm.png rename to twe/confirm.png diff --git a/twe_close/d_ally.php b/twe/d_ally.php similarity index 100% rename from twe_close/d_ally.php rename to twe/d_ally.php diff --git a/twe_close/d_cancel.php b/twe/d_cancel.php similarity index 100% rename from twe_close/d_cancel.php rename to twe/d_cancel.php diff --git a/twe_close/d_cease.php b/twe/d_cease.php similarity index 100% rename from twe_close/d_cease.php rename to twe/d_cease.php diff --git a/twe_close/d_merge.php b/twe/d_merge.php similarity index 100% rename from twe_close/d_merge.php rename to twe/d_merge.php diff --git a/twe_close/d_scout.php b/twe/d_scout.php similarity index 100% rename from twe_close/d_scout.php rename to twe/d_scout.php diff --git a/twe_close/d_setting/.htaccess b/twe/d_setting/.htaccess similarity index 100% rename from twe_close/d_setting/.htaccess rename to twe/d_setting/.htaccess diff --git a/twe_close/d_setting/_common.php b/twe/d_setting/_common.php similarity index 100% rename from twe_close/d_setting/_common.php rename to twe/d_setting/_common.php diff --git a/twe_close/d_surrender.php b/twe/d_surrender.php similarity index 100% rename from twe_close/d_surrender.php rename to twe/d_surrender.php diff --git a/twe_close/data/.htaccess b/twe/data/.htaccess similarity index 100% rename from twe_close/data/.htaccess rename to twe/data/.htaccess diff --git a/twe_close/error.php b/twe/error.php similarity index 100% rename from twe_close/error.php rename to twe/error.php diff --git a/twe_close/event_1.php b/twe/event_1.php similarity index 100% rename from twe_close/event_1.php rename to twe/event_1.php diff --git a/twe_close/event_2.php b/twe/event_2.php similarity index 100% rename from twe_close/event_2.php rename to twe/event_2.php diff --git a/twe_close/event_3.php b/twe/event_3.php similarity index 100% rename from twe_close/event_3.php rename to twe/event_3.php diff --git a/twe_close/event_4.php b/twe/event_4.php similarity index 100% rename from twe_close/event_4.php rename to twe/event_4.php diff --git a/twe_close/func.php b/twe/func.php similarity index 100% rename from twe_close/func.php rename to twe/func.php diff --git a/twe_close/func_auction.php b/twe/func_auction.php similarity index 100% rename from twe_close/func_auction.php rename to twe/func_auction.php diff --git a/twe_close/func_history.php b/twe/func_history.php similarity index 100% rename from twe_close/func_history.php rename to twe/func_history.php diff --git a/twe_close/func_http.php b/twe/func_http.php similarity index 100% rename from twe_close/func_http.php rename to twe/func_http.php diff --git a/twe_close/func_npc.php b/twe/func_npc.php similarity index 100% rename from twe_close/func_npc.php rename to twe/func_npc.php diff --git a/twe_close/func_process.php b/twe/func_process.php similarity index 100% rename from twe_close/func_process.php rename to twe/func_process.php diff --git a/twe_close/func_string.php b/twe/func_string.php similarity index 100% rename from twe_close/func_string.php rename to twe/func_string.php diff --git a/twe_close/func_tournament.php b/twe/func_tournament.php similarity index 100% rename from twe_close/func_tournament.php rename to twe/func_tournament.php diff --git a/twe_close/gen.xlsx b/twe/gen.xlsx similarity index 100% rename from twe_close/gen.xlsx rename to twe/gen.xlsx diff --git a/twe_close/genDatabase.txt b/twe/genDatabase.txt similarity index 100% rename from twe_close/genDatabase.txt rename to twe/genDatabase.txt diff --git a/twe_close/index.php b/twe/index.php similarity index 100% rename from twe_close/index.php rename to twe/index.php diff --git a/twe_close/install.php b/twe/install.php similarity index 100% rename from twe_close/install.php rename to twe/install.php diff --git a/twe_close/install1.php b/twe/install1.php similarity index 100% rename from twe_close/install1.php rename to twe/install1.php diff --git a/twe_close/install2.php b/twe/install2.php similarity index 100% rename from twe_close/install2.php rename to twe/install2.php diff --git a/twe_close/install2_ok.php b/twe/install2_ok.php similarity index 100% rename from twe_close/install2_ok.php rename to twe/install2_ok.php diff --git a/twe_close/install3_ok.php b/twe/install3_ok.php similarity index 100% rename from twe_close/install3_ok.php rename to twe/install3_ok.php diff --git a/twe_close/install_ok.php b/twe/install_ok.php similarity index 100% rename from twe_close/install_ok.php rename to twe/install_ok.php diff --git a/twe_close/join.php b/twe/join.php similarity index 100% rename from twe_close/join.php rename to twe/join.php diff --git a/twe_close/join_post.php b/twe/join_post.php similarity index 100% rename from twe_close/join_post.php rename to twe/join_post.php diff --git a/twe_close/join_post.php.orig b/twe/join_post.php.orig similarity index 100% rename from twe_close/join_post.php.orig rename to twe/join_post.php.orig diff --git a/twe_close/join_token.php b/twe/join_token.php similarity index 100% rename from twe_close/join_token.php rename to twe/join_token.php diff --git a/twe_close/jquery-1.11.0.min.js b/twe/jquery-1.11.0.min.js similarity index 100% rename from twe_close/jquery-1.11.0.min.js rename to twe/jquery-1.11.0.min.js diff --git a/twe_close/lib.php b/twe/lib.php similarity index 100% rename from twe_close/lib.php rename to twe/lib.php diff --git a/twe_close/license.txt b/twe/license.txt similarity index 100% rename from twe_close/license.txt rename to twe/license.txt diff --git a/twe_close/lock.txt b/twe/lock.txt similarity index 100% rename from twe_close/lock.txt rename to twe/lock.txt diff --git a/twe_close/login_process.php b/twe/login_process.php similarity index 100% rename from twe_close/login_process.php rename to twe/login_process.php diff --git a/twe_close/logout_process.php b/twe/logout_process.php similarity index 100% rename from twe_close/logout_process.php rename to twe/logout_process.php diff --git a/twe_close/main.php b/twe/main.php similarity index 100% rename from twe_close/main.php rename to twe/main.php diff --git a/twe_close/map.php b/twe/map.php similarity index 100% rename from twe_close/map.php rename to twe/map.php diff --git a/twe_close/map_history.php b/twe/map_history.php similarity index 100% rename from twe_close/map_history.php rename to twe/map_history.php diff --git a/twe_close/msglist.php b/twe/msglist.php similarity index 100% rename from twe_close/msglist.php rename to twe/msglist.php diff --git a/twe_close/mysql_opt.txt b/twe/mysql_opt.txt similarity index 100% rename from twe_close/mysql_opt.txt rename to twe/mysql_opt.txt diff --git a/twe_close/new_lib.php b/twe/new_lib.php similarity index 100% rename from twe_close/new_lib.php rename to twe/new_lib.php diff --git a/twe_close/npc_login.php b/twe/npc_login.php similarity index 100% rename from twe_close/npc_login.php rename to twe/npc_login.php diff --git a/twe_close/npc_login_process.php b/twe/npc_login_process.php similarity index 100% rename from twe_close/npc_login_process.php rename to twe/npc_login_process.php diff --git a/twe_close/preprocessing.php b/twe/preprocessing.php similarity index 100% rename from twe_close/preprocessing.php rename to twe/preprocessing.php diff --git a/twe_close/proc.php b/twe/proc.php similarity index 100% rename from twe_close/proc.php rename to twe/proc.php diff --git a/twe_close/proc.sh b/twe/proc.sh similarity index 100% rename from twe_close/proc.sh rename to twe/proc.sh diff --git a/twe_close/process_war.php b/twe/process_war.php similarity index 100% rename from twe_close/process_war.php rename to twe/process_war.php diff --git a/twe_close/processing.php b/twe/processing.php similarity index 100% rename from twe_close/processing.php rename to twe/processing.php diff --git a/twe_close/queue.php b/twe/queue.php similarity index 100% rename from twe_close/queue.php rename to twe/queue.php diff --git a/twe_close/reset.php b/twe/reset.php similarity index 100% rename from twe_close/reset.php rename to twe/reset.php diff --git a/twe_close/scenario_1.php b/twe/scenario_1.php similarity index 100% rename from twe_close/scenario_1.php rename to twe/scenario_1.php diff --git a/twe_close/scenario_10.php b/twe/scenario_10.php similarity index 100% rename from twe_close/scenario_10.php rename to twe/scenario_10.php diff --git a/twe_close/scenario_11.php b/twe/scenario_11.php similarity index 100% rename from twe_close/scenario_11.php rename to twe/scenario_11.php diff --git a/twe_close/scenario_12.php b/twe/scenario_12.php similarity index 100% rename from twe_close/scenario_12.php rename to twe/scenario_12.php diff --git a/twe_close/scenario_2.php b/twe/scenario_2.php similarity index 100% rename from twe_close/scenario_2.php rename to twe/scenario_2.php diff --git a/twe_close/scenario_20.php b/twe/scenario_20.php similarity index 100% rename from twe_close/scenario_20.php rename to twe/scenario_20.php diff --git a/twe_close/scenario_21.php b/twe/scenario_21.php similarity index 100% rename from twe_close/scenario_21.php rename to twe/scenario_21.php diff --git a/twe_close/scenario_22.php b/twe/scenario_22.php similarity index 100% rename from twe_close/scenario_22.php rename to twe/scenario_22.php diff --git a/twe_close/scenario_23.php b/twe/scenario_23.php similarity index 100% rename from twe_close/scenario_23.php rename to twe/scenario_23.php diff --git a/twe_close/scenario_24.php b/twe/scenario_24.php similarity index 100% rename from twe_close/scenario_24.php rename to twe/scenario_24.php diff --git a/twe_close/scenario_25.php b/twe/scenario_25.php similarity index 100% rename from twe_close/scenario_25.php rename to twe/scenario_25.php diff --git a/twe_close/scenario_26.php b/twe/scenario_26.php similarity index 100% rename from twe_close/scenario_26.php rename to twe/scenario_26.php diff --git a/twe_close/scenario_27.php b/twe/scenario_27.php similarity index 100% rename from twe_close/scenario_27.php rename to twe/scenario_27.php diff --git a/twe_close/scenario_28.php b/twe/scenario_28.php similarity index 100% rename from twe_close/scenario_28.php rename to twe/scenario_28.php diff --git a/twe_close/scenario_3.php b/twe/scenario_3.php similarity index 100% rename from twe_close/scenario_3.php rename to twe/scenario_3.php diff --git a/twe_close/scenario_4.php b/twe/scenario_4.php similarity index 100% rename from twe_close/scenario_4.php rename to twe/scenario_4.php diff --git a/twe_close/scenario_5.php b/twe/scenario_5.php similarity index 100% rename from twe_close/scenario_5.php rename to twe/scenario_5.php diff --git a/twe_close/scenario_6.php b/twe/scenario_6.php similarity index 100% rename from twe_close/scenario_6.php rename to twe/scenario_6.php diff --git a/twe_close/scenario_7.php b/twe/scenario_7.php similarity index 100% rename from twe_close/scenario_7.php rename to twe/scenario_7.php diff --git a/twe_close/scenario_8.php b/twe/scenario_8.php similarity index 100% rename from twe_close/scenario_8.php rename to twe/scenario_8.php diff --git a/twe_close/scenario_9.php b/twe/scenario_9.php similarity index 100% rename from twe_close/scenario_9.php rename to twe/scenario_9.php diff --git a/twe_close/schema.php b/twe/schema.php similarity index 100% rename from twe_close/schema.php rename to twe/schema.php diff --git a/twe_close/schema.sql.orig b/twe/schema.sql.orig similarity index 100% rename from twe_close/schema.sql.orig rename to twe/schema.sql.orig diff --git a/twe_close/select_npc.php b/twe/select_npc.php similarity index 100% rename from twe_close/select_npc.php rename to twe/select_npc.php diff --git a/twe_close/select_npc_post.php b/twe/select_npc_post.php similarity index 100% rename from twe_close/select_npc_post.php rename to twe/select_npc_post.php diff --git a/twe_close/selection.php b/twe/selection.php similarity index 100% rename from twe_close/selection.php rename to twe/selection.php diff --git a/twe_close/start.php b/twe/start.php similarity index 100% rename from twe_close/start.php rename to twe/start.php diff --git a/twe_close/stylesheet.php b/twe/stylesheet.php similarity index 100% rename from twe_close/stylesheet.php rename to twe/stylesheet.php diff --git a/twe_close/templates/.htaccess b/twe/templates/.htaccess similarity index 100% rename from twe_close/templates/.htaccess rename to twe/templates/.htaccess diff --git a/twe_close/turn.php b/twe/turn.php similarity index 100% rename from twe_close/turn.php rename to twe/turn.php diff --git a/twe_close/turn_pop_core.php b/twe/turn_pop_core.php similarity index 100% rename from twe_close/turn_pop_core.php rename to twe/turn_pop_core.php diff --git a/twe_close/turn_push_core.php b/twe/turn_push_core.php similarity index 100% rename from twe_close/turn_push_core.php rename to twe/turn_push_core.php diff --git a/twe/index.html b/twe_rest/index.html similarity index 100% rename from twe/index.html rename to twe_rest/index.html