mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Updating L10n to write to App.encoding. Removing Configure::write('charset') from core. Fixes #3937
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8058 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
2a139b171c
commit
5ded592c1e
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ class L10n extends Object {
|
|||
if (Configure::read('Config.language') === null) {
|
||||
Configure::write('Config.language', $this->lang);
|
||||
}
|
||||
Configure::write('charset', $this->charset);
|
||||
Configure::write('App.encoding', $this->charset);
|
||||
|
||||
if ($language) {
|
||||
return $language;
|
||||
|
|
Loading…
Add table
Reference in a new issue