shoppingmallv2 init..
This commit is contained in:
parent
a73e9c178f
commit
a4f7b95601
@ -210,6 +210,12 @@ abstract class BaseController extends Controller
|
|||||||
foreach ($this->_viewDatas['fields'] as $field) {
|
foreach ($this->_viewDatas['fields'] as $field) {
|
||||||
$this->_viewDatas['fieldDatas'] = $this->getFieldFormData($field, $entity);
|
$this->_viewDatas['fieldDatas'] = $this->getFieldFormData($field, $entity);
|
||||||
}
|
}
|
||||||
|
//변견된 데이터 Log로 남기기
|
||||||
|
foreach ($this->_viewDatas['fieldDatas'] as $field => $value) {
|
||||||
|
if ($field != "passwd") { //보안위험성이 있으므로 passwd는 Log에 남기지 않는다.
|
||||||
|
log_message("info", "{$field} : {$entity->$field} => {$value} 변경");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
protected function update_process($entity)
|
protected function update_process($entity)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user