summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages/Layout.php
blob: f5009542abbbbaa137a8ce4c2d919cd0391ae55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

class Layout extends TTemplateControl
{
	public function logout($sender,$param)
	{
		$this->Application->getModule('auth')->logout();
		$this->Response->redirect($this->Service->constructUrl('Home',null,false));
	}
}

?>