버그 패치
- 메인 페이지에서 턴 실행으로 세션락이 걸리지 않도록. - 토너먼트에서 매 라운드마다 텍스트가 초기화 되지 않던 문제 해결 - 전투 로그 표기에서 불필요한 빈칸 제거
This commit is contained in:
+1
-7
@@ -4,7 +4,7 @@ namespace sammo;
|
||||
include "lib.php";
|
||||
include "func.php";
|
||||
|
||||
$session = Session::requireLogin()->loginGame();
|
||||
$session = Session::requireLogin()->loginGame()->setReadOnly();
|
||||
$userID = Session::getUserID();
|
||||
|
||||
increaseRefresh("메인", 1);
|
||||
@@ -31,12 +31,6 @@ if ($me === null) {
|
||||
header('Location: ../');
|
||||
die();
|
||||
}
|
||||
if (!$session->generalID) {
|
||||
$session = Session::requireGameLogin();
|
||||
}
|
||||
$session->setReadOnly();
|
||||
$userID = Session::getUserID();
|
||||
|
||||
|
||||
if ($me['newmsg'] == 1 || $me['newvote'] == 1) {
|
||||
$db->update('general', [
|
||||
|
||||
Reference in New Issue
Block a user