summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages/Layout.php
blob: 37ed95d488da9c486d8e10aa4ecf8c538b6ba937 (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'));
	}
}

?>