summaryrefslogtreecommitdiff
path: root/kohana/helpers/url.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-04 18:15:56 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-04 18:15:56 +0000
commit014999758e2f4efa433a9c4e71d0551e0b5b318a (patch)
tree8d15d1130c44849ddee8fcb9f6c9aa7603822b99 /kohana/helpers/url.php
parentc0e65b202977c78c4562502373f630b8f835f1ff (diff)
Updated Kohana to r4033
Diffstat (limited to 'kohana/helpers/url.php')
-rw-r--r--kohana/helpers/url.php3
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);
}