core/services/request_stack/middleware/Middleware.php 1 location
|
@@ 65-73 (lines=9) @@
|
| 62 |
|
* @param EE_Response $response |
| 63 |
|
* @return EE_Response |
| 64 |
|
*/ |
| 65 |
|
protected function process_request_stack(EE_Request $request, EE_Response $response) |
| 66 |
|
{ |
| 67 |
|
$this->request = $request; |
| 68 |
|
$this->response = $response; |
| 69 |
|
if (! $this->response->request_terminated()) { |
| 70 |
|
$this->response = $this->request_stack->handle_request($this->request, $this->response); |
| 71 |
|
} |
| 72 |
|
return $this->response; |
| 73 |
|
} |
| 74 |
|
|
| 75 |
|
|
| 76 |
|
} |
core/services/request_stack/middleware/PreProductionVersionWarning.php 1 location
|
@@ 32-39 (lines=8) @@
|
| 29 |
|
* @param EE_Response $response |
| 30 |
|
* @return EE_Response |
| 31 |
|
*/ |
| 32 |
|
public function handle_request(EE_Request $request, EE_Response $response) |
| 33 |
|
{ |
| 34 |
|
$this->request = $request; |
| 35 |
|
$this->response = $response; |
| 36 |
|
$this->displayPreProductionVersionWarning(); |
| 37 |
|
$this->response = $this->process_request_stack($this->request, $this->response); |
| 38 |
|
return $this->response; |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|