mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 21:12:41 +00:00
Merge branch '2.1' into 2.2
This commit is contained in:
commit
4eea72205b
4 changed files with 7 additions and 6 deletions
|
@ -390,11 +390,10 @@ class HttpSocket extends CakeSocket {
|
|||
}
|
||||
|
||||
list($plugin, $responseClass) = pluginSplit($this->responseClass, true);
|
||||
App::uses($this->responseClass, $plugin . 'Network/Http');
|
||||
App::uses($responseClass, $plugin . 'Network/Http');
|
||||
if (!class_exists($responseClass)) {
|
||||
throw new SocketException(__d('cake_dev', 'Class %s not found.', $this->responseClass));
|
||||
}
|
||||
$responseClass = $this->responseClass;
|
||||
$this->response = new $responseClass($response);
|
||||
if (!empty($this->response->cookies)) {
|
||||
if (!isset($this->config['request']['cookies'][$Host])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue