diff options
Diffstat (limited to 'kohana/helpers/url.php')
-rw-r--r-- | kohana/helpers/url.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kohana/helpers/url.php b/kohana/helpers/url.php index 5b3b5fd2..46055299 100644 --- a/kohana/helpers/url.php +++ b/kohana/helpers/url.php @@ -243,6 +243,9 @@ class url_Core { header('Location: '.$uri); } + // We are about to exit, so run the send_headers event + Event::run('system.send_headers'); + exit('<h1>'.$method.' - '.$codes[$method].'</h1>'.$output); } |