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

This commit is contained in:
Hide_D committed 2018-03-24 22:03:54 +09:00
1 parent b5cba27df9
commit 157ecdbf2a
36 files changed
+364 -517

No files matched your search

+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;