We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3f7f1 commit 06d988cCopy full SHA for 06d988c
Db.php
@@ -71,9 +71,9 @@ function connect($alias = null)
71
);
72
73
$this->conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
74
+ } catch (PDOException $e) {
75
+ trigger_error('Data base not connected!');
76
}
- } catch (PDOException $e) {
- trigger_error('Data base not connected!');
77
78
if (!is_object($this->conn)) {
79
trigger_error('I can not connect to the database', E_USER_ERROR);
0 commit comments