Subversion-Projekte lars-tiefland.ci

Revision

Revision 791 | Revision 930 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
757 lars 1
<?php
2
 
3
/**
4
 *
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com>
7
 * @copyright 2016
8
 * @version $Rev: 847 $
9
 */
10
 
11
class Backend extends CI_Controller
12
{
847 lars 13
	public function __construct()
14
	{
15
		parent::__construct();
16
	}
757 lars 17
	public function index()
18
	{
760 lars 19
		if (!isset($_SESSION['username']))
20
		{
21
			header("Location:/backend/Login/");
22
		}
791 lars 23
		else
24
		{
25
			$this->smarty->view('index.tpl');
26
		}
757 lars 27
	}
28
}
29
 
30
?>