diff options
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/THttpResponse.php | 1 |
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();
}
|