1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-01-20 10:52:15 +01:00

remove bareword oci

This commit is contained in:
Klas Lindfors 2012-06-12 14:25:54 +02:00
parent 929e7aedc9
commit 30c302fa68

View File

@ -15,7 +15,7 @@ abstract class Db
* */ * */
public static function GetDatabaseHandle($baseParams, $logname) public static function GetDatabaseHandle($baseParams, $logname)
{ {
if(substr($baseParams['__YKVAL_DB_DSN__'], 0, 3) == oci) { if(substr($baseParams['__YKVAL_DB_DSN__'], 0, 3) == 'oci') {
require_once 'ykval-db-oci.php'; require_once 'ykval-db-oci.php';
} else { } else {
require_once 'ykval-db-pdo.php'; require_once 'ykval-db-pdo.php';