move charset/App.encoding into CakeResponse

This commit is contained in:
euromark 2012-09-27 20:28:19 +02:00
parent 76d21c6d56
commit b47e3a7d92
9 changed files with 11 additions and 10 deletions

View file

@ -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();
}
}