increaseRefresh 수정

파일마다 Session 받아오는 코드가 잘못 된 경우 수정
This commit is contained in:
2018-04-05 01:34:56 +09:00
parent fae86dbff8
commit b3e621fbfd
26 changed files with 71 additions and 1056 deletions
+6 -4
View File
@@ -4,10 +4,7 @@ namespace sammo;
include 'lib.php';
include 'func.php';
$session = Session::Instance()->loginGame()->setReadOnly();
//읽기 전용이다. 빠르게 세션 끝내자
session_write_close();
$session = Session::Instance()->setReadOnly();
$defaultPost = [
'year' => null,
@@ -18,6 +15,11 @@ $defaultPost = [
];
$post = array_merge($defaultPost, WebUtil::parseJsonPost());
if(!$session->isLoggedIn() || !$session->generalID){
$post['neutralView'] = true;
$post['showMe'] = false;
}
if($post['year']){
if($post['month'] < 1 || $post['month'] > 12){