mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing duplicate directory separator when looking for locale search paths, closes #1854
This commit is contained in:
parent
402934fa4d
commit
25682db434
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ class I18n {
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue