mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正数据库查询一处问题 改进数据库异常避免暴露敏感信息
This commit is contained in:
@@ -36,6 +36,7 @@ class DbException extends Exception
|
||||
'Error SQL' => $sql,
|
||||
]);
|
||||
|
||||
unset($config['username'], $config['password']);
|
||||
$this->setData('Database Config', $config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user