명장 일람 아이템 표기 버그 수정, 사령부 턴 정상 리다이렉트, 개인 기록 역순 표기 문제 해결

This commit is contained in:
2018-04-10 21:20:35 +09:00
parent 9831685bb9
commit 8f9077dff8
3 changed files with 6 additions and 7 deletions
+4 -4
View File
@@ -211,10 +211,10 @@ $call = array(
); );
$func = array( $func = array(
"getHorseName", "\\sammo\\getHorseName",
"getWeapName", "\\sammo\\getWeapName",
"getBookName", "\\sammo\\getBookName",
"getItemName" "\\sammo\\getItemName"
); );
for ($i=0; $i < 4; $i++) { for ($i=0; $i < 4; $i++) {
+1 -2
View File
@@ -135,8 +135,7 @@ if($command == 46) {
$query = "update nation set {$str} where nation='{$me['nation']}'"; $query = "update nation set {$str} where nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
} }
//echo "<script>location.replace('b_chiefcenter.php');</script>"; header('location:b_chiefcenter.php');
echo 'b_chiefcenter.php';//TODO:debug all and replace
} else { } else {
$query = []; $query = [];
foreach($turn as $turnIdx){ foreach($turn as $turnIdx){
+1 -1
View File
@@ -93,7 +93,7 @@ function pushGenLog($general, $log) {
} }
function getGenLogRecent(int $no, int $count) { function getGenLogRecent(int $no, int $count) {
return join('<br>', getFormattedFileLogRecent("logs/gen{$no}.txt", $count, 300)); return join('<br>', array_reverse(getFormattedFileLogRecent("logs/gen{$no}.txt", $count, 300)));
} }
function pushBatRes($general, $log) { function pushBatRes($general, $log) {