From 30c302fa68f78873d3cae350819fe7cc11c2b8c5 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Tue, 12 Jun 2012 14:25:54 +0200 Subject: [PATCH] remove bareword oci --- ykval-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykval-db.php b/ykval-db.php index 8ce3d9e..b4288bc 100644 --- a/ykval-db.php +++ b/ykval-db.php @@ -15,7 +15,7 @@ abstract class Db * */ 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'; } else { require_once 'ykval-db-pdo.php';