mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
fixes #6152, removal of automatic setting of App.encoding in l10n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8094 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
bf4fa09b8f
commit
2009f4b896
1 changed files with 0 additions and 1 deletions
|
@ -381,7 +381,6 @@ class L10n extends Object {
|
||||||
if (Configure::read('Config.language') === null) {
|
if (Configure::read('Config.language') === null) {
|
||||||
Configure::write('Config.language', $this->lang);
|
Configure::write('Config.language', $this->lang);
|
||||||
}
|
}
|
||||||
Configure::write('App.encoding', $this->charset);
|
|
||||||
|
|
||||||
if ($language) {
|
if ($language) {
|
||||||
return $language;
|
return $language;
|
||||||
|
|
Loading…
Add table
Reference in a new issue