From 8f9077dff81d2bf55aefbe8c92aacafa62fc143f Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 10 Apr 2018 21:20:35 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=85=EC=9E=A5=20=EC=9D=BC=EB=9E=8C=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=ED=85=9C=20=ED=91=9C=EA=B8=B0=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95,=20=EC=82=AC=EB=A0=B9=EB=B6=80?= =?UTF-8?q?=20=ED=84=B4=20=EC=A0=95=EC=83=81=20=EB=A6=AC=EB=8B=A4=EC=9D=B4?= =?UTF-8?q?=EB=A0=89=ED=8A=B8,=20=20=EA=B0=9C=EC=9D=B8=20=EA=B8=B0?= =?UTF-8?q?=EB=A1=9D=20=EC=97=AD=EC=88=9C=20=ED=91=9C=EA=B8=B0=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_bestGeneral.php | 8 ++++---- hwe/c_double.php | 3 +-- hwe/func_history.php | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hwe/a_bestGeneral.php b/hwe/a_bestGeneral.php index c6214056..bb24239f 100644 --- a/hwe/a_bestGeneral.php +++ b/hwe/a_bestGeneral.php @@ -211,10 +211,10 @@ $call = array( ); $func = array( - "getHorseName", - "getWeapName", - "getBookName", - "getItemName" + "\\sammo\\getHorseName", + "\\sammo\\getWeapName", + "\\sammo\\getBookName", + "\\sammo\\getItemName" ); for ($i=0; $i < 4; $i++) { diff --git a/hwe/c_double.php b/hwe/c_double.php index ba2cbb5b..73f0e2ee 100644 --- a/hwe/c_double.php +++ b/hwe/c_double.php @@ -135,8 +135,7 @@ if($command == 46) { $query = "update nation set {$str} where nation='{$me['nation']}'"; MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); } - //echo ""; - echo 'b_chiefcenter.php';//TODO:debug all and replace + header('location:b_chiefcenter.php'); } else { $query = []; foreach($turn as $turnIdx){ diff --git a/hwe/func_history.php b/hwe/func_history.php index 4873c725..1d8c01db 100644 --- a/hwe/func_history.php +++ b/hwe/func_history.php @@ -93,7 +93,7 @@ function pushGenLog($general, $log) { } function getGenLogRecent(int $no, int $count) { - return join('
', getFormattedFileLogRecent("logs/gen{$no}.txt", $count, 300)); + return join('
', array_reverse(getFormattedFileLogRecent("logs/gen{$no}.txt", $count, 300))); } function pushBatRes($general, $log) {