From becb872af26c0bcaa296717fca7b4b283e6a9677 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 4 Aug 2009 15:53:26 -0400 Subject: [PATCH] Need to ucfirst() the appname when trying to load it's API class --- framework/Core/lib/Horde/Registry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'); } -- 2.11.0