Subversion-Projekte lars-tiefland.ci

Revision

Revision 760 | Revision 847 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

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