From: Chuck Hagenbuch Date: Thu, 14 Jan 2010 22:36:03 +0000 (-0500) Subject: Another compatibility shim in the Binder X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ea057a7de4e85774c3e5ddc8e68183eb94005000;p=horde.git Another compatibility shim in the Binder --- diff --git a/framework/Core/lib/Horde/Core/Binder/Db.php b/framework/Core/lib/Horde/Core/Binder/Db.php index 3368057d2..30b997a54 100644 --- a/framework/Core/lib/Horde/Core/Binder/Db.php +++ b/framework/Core/lib/Horde/Core/Binder/Db.php @@ -25,6 +25,9 @@ class Horde_Core_Binder_Db implements Horde_Injector_Binder if (!isset($config['adapter'])) { $config['adapter'] = $config['phptype'] == 'mysqli' ? 'mysqli' : 'pdo_' . $config['phptype']; } + if (!empty($config['hostspec'])) { + $config['host'] = $config['hostspec']; + } if (!isset($config['logger'])) { $config['logger'] = $injector->getInstance('Horde_Log_Logger');