increaseRefresh 수정
파일마다 Session 받아오는 코드가 잘못 된 경우 수정
This commit is contained in:
+6
-4
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user