File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments