Locale load fixes
This commit is contained in:
parent
b7a43145ca
commit
6dec64dec4
|
@ -1,4 +1,4 @@
|
|||
php-vn-lib (2.1.5) stable; urgency=low
|
||||
php-vn-lib (2.1.6) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -180,7 +180,7 @@ class App {
|
|||
if (!is_subclass_of($className, $checkClass))
|
||||
throw new \Exception("Class '$className' is not a '$checkClass' child");
|
||||
|
||||
Locale::addPath("$baseDir/$methodName");
|
||||
Locale::addPath("$baseDir/$methodPath");
|
||||
return new $className($this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue