Change Details
| src/Pluf/Dispatcher.php |
| 75 | 75 | $response = new Pluf_HTTP_Response_ServerError($e); |
| 76 | 76 | } |
| 77 | 77 | $response->render($req->method != 'HEAD' and !defined('IN_UNIT_TESTS')); |
| 78 | if (defined('IN_UNIT_TESTS')) { |
| 79 | throw $e; |
| 80 | } |
| 78 | 81 | } |
| 79 | 82 | /** |
| 80 | 83 | * [signal] |
| src/Pluf/Mail.php |
| 194 | 194 | if (Pluf::f('send_emails', true)) { |
| 195 | 195 | $mail->send($this->to_address, $hdrs, $body); |
| 196 | 196 | } |
| 197 | if (defined('IN_UNIT_TESTS')) { |
| 198 | $GLOBALS['_PX_UNIT_TESTS']['emails'][] = array($this->to_address, $hdrs, $body); |
| 199 | } |
| 197 | 200 | } |
| 198 | 201 | } |
Download the corresponding diff file