gcdb::show_errors()
最后更新于:2021-11-26 09:04:58
gcdb::show_errors( bool$show=true)Enables showing of database errors.
参数
- $show
-
(bool) (Optional) Whether to show errors.
Default value: true
响应
(bool) Whether showing of errors was previously active.
源文件
文件: gc-includes/gc-db.php
public function show_errors( $show = true ) {
$errors = $this->show_errors;
$this->show_errors = $show;
return $errors;
}