dateFormat에 포맷 추가. error 페이지 표기 수정
This commit is contained in:
1 parent
269a40ca9d
commit
50d1c4cd34
4 files changed
+7
-6
No files matched your search
@@ -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');
|
||||
Reference in new issue
Block a user