Commit ffc9934b authored by zhangkuanguang's avatar zhangkuanguang

Merge remote-tracking branch 'origin/master'

parents 1f18561c 6f8e0629
...@@ -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 (ENVIRONMENT == 'production') {
die('数据库错误');
}
die($err); die($err);
} }
...@@ -681,6 +684,9 @@ class SIMPLE_DB { ...@@ -681,6 +684,9 @@ class SIMPLE_DB {
$this->Errorlog .= $err; $this->Errorlog .= $err;
Return false; Return false;
} }
if (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