Commit 8a996a23 authored by chenlei's avatar chenlei

sql执行报错屏蔽

parent 9221b663
...@@ -255,6 +255,9 @@ class TINY_ADODB { ...@@ -255,6 +255,9 @@ class TINY_ADODB {
$this->Errorlog .= $err; $this->Errorlog .= $err;
Return false; Return false;
} }
if (defined('ENVIRONMENT') == 'production') {
die('数据库错误');
}
die($err); die($err);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment