summaryrefslogtreecommitdiff
path: root/framework/Web/THttpResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r--framework/Web/THttpResponse.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php
index d51c0cf2..1cbf9751 100644
--- a/framework/Web/THttpResponse.php
+++ b/framework/Web/THttpResponse.php
@@ -265,6 +265,7 @@ class THttpResponse extends TModule implements ITextWriter
*/
public function redirect($url)
{
+ $this->getApplication()->onExitApplication();
header('Location:'.$url);
exit();
}