From: Michael J. Rubinsky Date: Tue, 4 Aug 2009 19:53:26 +0000 (-0400) Subject: Need to ucfirst() the appname when trying to load it's API class X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=becb872af26c0bcaa296717fca7b4b283e6a9677;p=horde.git Need to ucfirst() the appname when trying to load it's API class --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index 37c384529..1381faa01 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -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.'); }