명장 일람 아이템 표기 버그 수정, 사령부 턴 정상 리다이렉트, 개인 기록 역순 표기 문제 해결
This commit is contained in:
@@ -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++) {
|
||||
|
||||
+1
-2
@@ -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 "<script>location.replace('b_chiefcenter.php');</script>";
|
||||
echo 'b_chiefcenter.php';//TODO:debug all and replace
|
||||
header('location:b_chiefcenter.php');
|
||||
} else {
|
||||
$query = [];
|
||||
foreach($turn as $turnIdx){
|
||||
|
||||
@@ -93,7 +93,7 @@ function pushGenLog($general, $log) {
|
||||
}
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user