diff options
author | xue <> | 2006-02-08 21:06:54 +0000 |
---|---|---|
committer | xue <> | 2006-02-08 21:06:54 +0000 |
commit | 1f19172f3df377ca0e88bb230d6f374ebef41b91 (patch) | |
tree | 1ab31079fc583ec17144b67883bc2b4fd9895114 /framework/Web | |
parent | 9943fc0c6b3f7ffc5295a25206aa0b47091453ba (diff) |
Moved onExitApplication out of destructor.
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();
}
|