projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c793472
)
need to ucfirst() the $app name when using it as a class name part.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 8 Jul 2010 18:53:12 +0000
(14:53 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 8 Jul 2010 18:53:12 +0000
(14:53 -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
3f2f07f
..
2f4567f
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-1437,7
+1437,7
@@
class Horde_Registry
if (!is_null($fileroot) &&
is_dir($fileroot . '/lib/' . $fileprefix)) {
foreach (scandir($fileroot . '/lib/' . $fileprefix) as $file) {
- $classname =
$app
. '_' . $prefix . '_' . basename($file, '.php');
+ $classname =
Horde_String::ucfirst($app)
. '_' . $prefix . '_' . basename($file, '.php');
if (class_exists($classname)) {
$classes[] = $classname;
}