projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18911a8
)
The PDO driver is called oci, not oci8 *sigh*.
author
Jan Schneider
<jan@horde.org>
Wed, 20 Jan 2010 14:51:39 +0000
(15:51 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 20 Jan 2010 22:32:07 +0000
(23:32 +0100)
framework/Core/lib/Horde/Core/Binder/Db.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Core/Binder/Db.php
b/framework/Core/lib/Horde/Core/Binder/Db.php
index
30b997a
..
fb30bd4
100644
(file)
--- a/
framework/Core/lib/Horde/Core/Binder/Db.php
+++ b/
framework/Core/lib/Horde/Core/Binder/Db.php
@@
-23,6
+23,9
@@
class Horde_Core_Binder_Db implements Horde_Injector_Binder
{
$config = $GLOBALS['conf']['sql'];
if (!isset($config['adapter'])) {
+ if ($config['phptype'] == 'oci8') {
+ $config['phptype'] = 'oci';
+ }
$config['adapter'] = $config['phptype'] == 'mysqli' ? 'mysqli' : 'pdo_' . $config['phptype'];
}
if (!empty($config['hostspec'])) {