mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Avoid reparsing locale definition file.
This commit is contained in:
parent
f750c7d943
commit
fc47bf9e1d
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ class I18n {
|
||||||
if (is_file($localeDef)) {
|
if (is_file($localeDef)) {
|
||||||
$definitions = self::loadLocaleDefinition($localeDef);
|
$definitions = self::loadLocaleDefinition($localeDef);
|
||||||
if ($definitions !== false) {
|
if ($definitions !== false) {
|
||||||
$this->_domains[$domain][$this->_lang][$this->category] = self::loadLocaleDefinition($localeDef);
|
$this->_domains[$domain][$this->_lang][$this->category] = $definitions;
|
||||||
$this->_noLocale = false;
|
$this->_noLocale = false;
|
||||||
return $domain;
|
return $domain;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue