mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-07 18:54:23 +01:00
Check for ^oci: instead of just ^oci.
This commit is contained in:
parent
04ce8662de
commit
e5ea2ead5f
@ -27,7 +27,7 @@ class DbImpl extends Db
|
||||
$this->db_password=$db_password;
|
||||
$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
|
||||
$this->db_dsn = substr($this->db_dsn, 4);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user