コード例 #1
0
ファイル: admin_c.php プロジェクト: justlikeheaven/buxun
 protected function before_update(&$data)
 {
     $data['salt'] = func::str_rand();
     $data['password'] = md5($data['password'] . $data['salt']);
 }