Skip to content

Commit

Permalink
More SQL SSL CA support added
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 9, 2024
1 parent afdba26 commit f4fe0ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion upload/system/library/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ class DB {
* @param string $password
* @param string $database
* @param string $port
* @param string $ssl_key
* @param string $ssl_cert
* @param string $ssl_ca
*/
public function __construct(string $adaptor, string $hostname, string $username, string $password, string $database, string $port = '') {
public function __construct(string $adaptor, string $hostname, string $username, string $password, string $database, string $port = '', string $ssl_key = '', string $ssl_cert = '', string $ssl_ca = '') {
$class = 'DB\\' . $adaptor;

if (class_exists($class)) {
Expand Down

0 comments on commit f4fe0ee

Please sign in to comment.