Need to ucfirst() the appname when trying to load it's API class
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 4 Aug 2009 19:53:26 +0000 (15:53 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 4 Aug 2009 19:54:53 +0000 (15:54 -0400)
framework/Core/lib/Horde/Registry.php

index 37c3845..1381faa 100644 (file)
@@ -407,7 +407,7 @@ class Horde_Registry
 
         /* Can't autoload here, since the application may not have been
          * initialized yet. */
-        $classname = $app . '_Api';
+        $classname = ucfirst($app) . '_Api';
         if (!@include_once $this->get('fileroot', $app) . '/lib/Api.php') {
             throw new Horde_Exception('Application ' . $app . ' is missing its API file.');
         }