projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa7aabb
)
Need to ucfirst() the appname when trying to load it's API class
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 4 Aug 2009 19:53:26 +0000
(15:53 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 4 Aug 2009 19:54:53 +0000
(15:54 -0400)
framework/Core/lib/Horde/Registry.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Registry.php
b/framework/Core/lib/Horde/Registry.php
index
37c3845
..
1381faa
100644
(file)
--- 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.');
}