generalID 부분 많이 수정.

index.php 로딩 에러 수정
This commit is contained in:
2018-04-01 04:31:56 +09:00
parent 762e7f72c3
commit 6edabd5bcb
18 changed files with 43 additions and 39 deletions
+3 -2
View File
@@ -182,7 +182,7 @@ class Session {
$now = time();
if(
$generalID && $generalName && $loginDate && $deateTime
$generalID && $generalName && $loginDate && $deadTime
&& $loginDate + 600 > $now && $deadTime > $now
){
//로그인 정보는 10분간 유지한다.
@@ -225,8 +225,9 @@ class Session {
$this->set($serverID.static::GAME_KEY_DATE, $now);
$this->set($serverID.static::GAME_KEY_GENERAL_ID, $generalID);
$this->set($preserverIDfix.static::GAME_KEY_GENERAL_NAME, $generalName);
$this->set($serverID.static::GAME_KEY_GENERAL_NAME, $generalName);
$this->set($serverID.static::GAME_KEY_EXPECTED_DEADTIME, $deadTime);
return $this;
}
public function logoutGame(): Session{