Fix case.
authorMichael J Rubinsky <mrubinsk@horde.org>
Fri, 21 Jan 2011 15:40:12 +0000 (10:40 -0500)
committerMichael J Rubinsky <mrubinsk@horde.org>
Fri, 21 Jan 2011 15:40:12 +0000 (10:40 -0500)
Did I mention how much I love mac's case insensitive fs? Grr..

hermes/lib/Injector/Factory/Driver.php

index da9c448..46c55f7 100644 (file)
@@ -41,7 +41,7 @@ class Hermes_Injector_Factory_Driver
             } else {
                 throw new Horde_Exception('Using non-global db connection not yet supported.');
             }
-            $class = 'Hermes_Driver_' . $driver;
+            $class = 'Hermes_Driver_' . Horde_String::ucfirst($driver);
             $this->_instances[$signature] = new $class($params);
         }