Skip to content

Commit

Permalink
Removing duplicate directory separator when looking for locale search…
Browse files Browse the repository at this point in the history
… paths, closes #1854
  • Loading branch information
lorenzo committed Jul 27, 2011
1 parent 402934f commit 25682db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/I18n/I18n.php
Expand Up @@ -277,7 +277,7 @@ private function __bindTextDomain($domain) {
foreach ($plugins as $plugin) {
$pluginDomain = Inflector::underscore($plugin);
if ($pluginDomain === $domain) {
$searchPaths[] = CakePlugin::path($plugin) . DS . 'Locale' . DS;
$searchPaths[] = CakePlugin::path($plugin) . 'Locale' . DS;
$searchPaths = array_reverse($searchPaths);
break;
}
Expand Down

0 comments on commit 25682db

Please sign in to comment.