OSDN Git Service
(root)
/
ethna
/
ethna.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c71d5a
)
fixed: ClassFactory's name resolution
author
Sotaro KARASAWA
<sotaro.k@gmail.com>
Sat, 14 Nov 2009 16:29:14 +0000
(
01:29
+0900)
committer
Sotaro KARASAWA
<sotaro.k@gmail.com>
Sat, 14 Nov 2009 16:29:14 +0000
(
01:29
+0900)
class/ClassFactory.php
patch
|
blob
|
history
diff --git
a/class/ClassFactory.php
b/class/ClassFactory.php
index
75b558d
..
b871fb7
100644
(file)
--- a/
class/ClassFactory.php
+++ b/
class/ClassFactory.php
@@
-377,7
+377,8
@@
class Ethna_ClassFactory
}
// try ethna master style
- // Ethna_Foo_Bar -> class/Ethna/Foo/Ethna_Foo_Bar.php
+ // Ethna_Foo_Bar -> class/Ethna/Foo/Bar.php
+ $tmp = explode('_', $match[2]);
array_unshift($tmp, 'Ethna', 'class');
$file = sprintf('%s.%s',
implode(DIRECTORY_SEPARATOR, $tmp),