dateFormat에 포맷 추가. error 페이지 표기 수정

This commit is contained in:
2018-04-09 03:21:11 +09:00
parent 269a40ca9d
commit 50d1c4cd34
4 changed files with 7 additions and 6 deletions
+2 -3
View File
@@ -17,7 +17,7 @@ $v->rule('integer', [
'minutes2'
])->rule('dateFormat', [
'starttime'
]);
], 'Y-m-d H:i:s');
if (!$v->validate()) {
Error($v->errorStr());
}
@@ -117,5 +117,4 @@ switch ($btn) {
break;
}
//echo "<script>location.replace('_admin1.php');</script>";
echo '_admin1.php';//TODO:debug all and replace
header('location:_admin1.php');