lib/Cake/Controller/Component/CookieComponent.php 1 location
|
@@ 176-180 (lines=5) @@
|
| 173 |
|
} |
| 174 |
|
|
| 175 |
|
$controller = $collection->getController(); |
| 176 |
|
if ($controller && isset($controller->response)) { |
| 177 |
|
$this->_response = $controller->response; |
| 178 |
|
} else { |
| 179 |
|
$this->_response = new CakeResponse(); |
| 180 |
|
} |
| 181 |
|
} |
| 182 |
|
|
| 183 |
|
/** |
lib/Cake/View/View.php 1 location
|
@@ 340-344 (lines=5) @@
|
| 337 |
|
$this->request->base = ''; |
| 338 |
|
$this->request->here = $this->request->webroot = '/'; |
| 339 |
|
} |
| 340 |
|
if (is_object($controller) && isset($controller->response)) { |
| 341 |
|
$this->response = $controller->response; |
| 342 |
|
} else { |
| 343 |
|
$this->response = new CakeResponse(); |
| 344 |
|
} |
| 345 |
|
$this->Helpers = new HelperCollection($this); |
| 346 |
|
$this->Blocks = new ViewBlock(); |
| 347 |
|
$this->loadHelpers(); |