cfmgrv3 init...3
This commit is contained in:
parent
f55e4bc8bb
commit
ab7dd14d0e
@ -177,11 +177,12 @@ class CommonController extends BaseController
|
||||
$logs = array();
|
||||
$value = rtrim($this->request->getVar($field));
|
||||
if ($entity->$field != $value) {
|
||||
if ($field != 'passwd') { //암호는 보안상 보이지 않게하기 위함
|
||||
$log = "{$entity->getTitle()}의 {$field} : {$entity->$field}=>{$value}";
|
||||
$log = "{$entity->getTitle()}의 {$field} : {$entity->$field}=>{$value}";
|
||||
//암호는 보안상 log에 남지 않게하기 위함
|
||||
if ($field != 'passwd') {
|
||||
Log::add("info", $log);
|
||||
array_push($logs, $log);
|
||||
}
|
||||
array_push($logs, $log);
|
||||
$entity->$field = $this->_viewDatas['fieldDatas'][$field] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user