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 d993cd7 commit eb2b113Copy full SHA for eb2b113
src/Db.php
@@ -75,7 +75,7 @@ public function connect($args = null) {
75
$this->_driver = $db->getAttribute(\PDO::ATTR_DRIVER_NAME);
76
77
$db->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
78
- $db->setAttribute(\PDO::ATTR_EMULATE_PREPARES, false);
+ $db->setAttribute(\PDO::ATTR_EMULATE_PREPARES, $args['sslca'] ? true : false);
79
80
$this->db($db);
81
0 commit comments