Locale load fixes

This commit is contained in:
Juan Ferrer 2019-05-08 12:44:40 +02:00
parent b7a43145ca
commit 6dec64dec4
2 changed files with 2 additions and 2 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
php-vn-lib (2.1.5) stable; urgency=low
php-vn-lib (2.1.6) stable; urgency=low
* Initial Release.

View File

@ -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);
}
}