많은 유틸리티 함수를 Util, FileUtil, WebUtil로 이동

This commit is contained in:
2018-03-24 22:03:54 +09:00
parent b5cba27df9
commit 157ecdbf2a
36 changed files with 364 additions and 517 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ $defaultPost = [
'neutralView' => false,
'showMe' => true
];
$post = array_merge($defaultPost, parseJsonPost());
$post = array_merge($defaultPost, WebUtil::parseJsonPost());
if($post['year']){
@@ -29,8 +29,8 @@ if($post['year']){
]);
}
$post['year'] = toInt($post['year']);
$post['month'] = toInt($post['month']);
$post['year'] = Util::toInt($post['year']);
$post['month'] = Util::toInt($post['month']);
}
else{
$post['year'] = null;