Skip to content

Commit

Permalink
Fix plugin path in I18n class.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 11, 2014
1 parent 1344176 commit 3b1bea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/I18n/I18n.php
Expand Up @@ -385,7 +385,7 @@ protected function _bindTextDomain($domain) {
foreach ($plugins as $plugin) {
$pluginDomain = Inflector::underscore($plugin);
if ($pluginDomain === $domain) {
$searchPaths[] = Plugin::path($plugin) . 'Locale/';
$searchPaths[] = Plugin::path($plugin) . 'src' . DS . 'Locale/';
$searchPaths = array_reverse($searchPaths);
break;
}
Expand Down

0 comments on commit 3b1bea8

Please sign in to comment.