Skip to content

Commit ad8ae18

Browse files
committed
Hide standard connection error messages to show class errors
1 parent 9ab8f55 commit ad8ae18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mDB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private function ConnectBase()
148148
return;
149149
}
150150
}
151-
$this->instance = new mysqli(
151+
$this->instance = @new mysqli(
152152
$this->config['mysql_host'],
153153
$this->config['mysql_user'],
154154
$this->config['mysql_pass'],

0 commit comments

Comments
 (0)