mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 11:32:40 +00:00
move charset/App.encoding into CakeResponse
This commit is contained in:
parent
76d21c6d56
commit
b47e3a7d92
9 changed files with 11 additions and 10 deletions
|
@ -177,7 +177,7 @@ class CookieComponent extends Component {
|
|||
if ($controller && isset($controller->response)) {
|
||||
$this->_response = $controller->response;
|
||||
} else {
|
||||
$this->_response = new CakeResponse(array('charset' => Configure::read('App.encoding')));
|
||||
$this->_response = new CakeResponse();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue