diff options
author | xue <> | 2006-01-19 14:40:15 +0000 |
---|---|---|
committer | xue <> | 2006-01-19 14:40:15 +0000 |
commit | f56a3799ded6b18c98eb9810d9e4c79a9c23c796 (patch) | |
tree | 038fa75c15d700382e62960afae70f474055b887 /demos/personal/protected/Pages/Layout.php | |
parent | 1bfd7c4641e0457ac558cf74290a6a7ff1a3af58 (diff) |
Updated "personal" demo.
Diffstat (limited to 'demos/personal/protected/Pages/Layout.php')
-rw-r--r-- | demos/personal/protected/Pages/Layout.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/personal/protected/Pages/Layout.php b/demos/personal/protected/Pages/Layout.php index ba96038b..37ed95d4 100644 --- a/demos/personal/protected/Pages/Layout.php +++ b/demos/personal/protected/Pages/Layout.php @@ -2,6 +2,11 @@ class Layout extends TTemplateControl
{
+ public function logout($sender,$param)
+ {
+ $this->Application->getModule('auth')->logout();
+ $this->Response->redirect($this->Service->constructUrl('Home'));
+ }
}
?>
\ No newline at end of file |