mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-12 15:54:27 +01:00
Merge branch 'feature/oracle_support' of github.com:Yubico/yubikey-val-server-php into feature/oracle_support
This commit is contained in:
commit
cb6253637c
@ -27,7 +27,7 @@ class DbImpl extends Db
|
|||||||
$this->db_password=$db_password;
|
$this->db_password=$db_password;
|
||||||
$this->db_options=$db_options;
|
$this->db_options=$db_options;
|
||||||
|
|
||||||
if(substr($db_dsn, 0, 3) == 'oci') {
|
if(substr($db_dsn, 0, 4) == 'oci:') {
|
||||||
# "oci:" prefix needs to be removed before passing db_dsn to OCI
|
# "oci:" prefix needs to be removed before passing db_dsn to OCI
|
||||||
$this->db_dsn = substr($this->db_dsn, 4);
|
$this->db_dsn = substr($this->db_dsn, 4);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user