shoppingmallv2 init...

This commit is contained in:
최준흠 2023-08-23 18:58:51 +09:00
parent 086400f04b
commit a7f020defd

View File

@ -80,6 +80,7 @@ class ProductController extends AdminController
//Insert관련
protected function insert_validate()
{
//Upload된 파일 검증(photo)때문에 먼처 체크
$this->_validation->setRules($this->_viewDatas['fieldRules']);
if (!$this->_validation->withRequest($this->request)->run()) {
throw new \Exception("{$this->_viewDatas['title']}의 검증 오류발생\n" . implode("\n", $this->_validation->getErrors()));