Skip to content

Commit 17b06e8

Browse files
committed
Fixed bug related to #90
1 parent 4d00c71 commit 17b06e8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Zebra_Database.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Read more {@link https://github.com/stefangabos/Zebra_Database here}
1111
*
1212
* @author Stefan Gabos <contact@stefangabos.ro>
13-
* @version 2.13.0 (last revision: August 21, 2025)
13+
* @version 2.13.0 (last revision: August 22, 2025)
1414
* @copyright © 2006 - 2025 Stefan Gabos
1515
* @license https://www.gnu.org/licenses/lgpl-3.0.txt GNU LESSER GENERAL PUBLIC LICENSE
1616
* @package Zebra_Database
@@ -4647,6 +4647,11 @@ private function _connected() {
46474647
isset($this->ssl_options['cipher']) ? $this->ssl_options['cipher'] : null
46484648
);
46494649

4650+
// handle SSL verification option if provided
4651+
if (isset($this->ssl_options['verify'])) {
4652+
$this->connection->options(MYSQLI_OPT_SSL_VERIFY_SERVER_CERT, $this->ssl_options['verify']);
4653+
}
4654+
46504655
}
46514656

46524657
// try to connect to the MySQL server

0 commit comments

Comments
 (0)