Skip to content
Browse files

Removing duplicate directory separator when looking for locale search…

… paths, closes #1854
  • Loading branch information...
1 parent 402934f commit 25682db4344357c7a76cf6f51f447f2b3f372770 @lorenzo lorenzo committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/I18n/I18n.php
View
2 lib/Cake/I18n/I18n.php
@@ -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;
}

0 comments on commit 25682db

Please sign in to comment.
Something went wrong with that request. Please try again.