Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 928 Revision 929
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: 928 $
8
 * @version $Rev: 929 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Weban_backend
11
class Weban_backend
12
{
12
{
13
	public function __construct()
13
	public function __construct()
14
	{
14
	{
15
		if (!isset($_SESSION['username']))
15
		if (!isset($_SESSION['username']))
-
 
16
		{
-
 
17
			if (!isset($_SESSION["redirected"]))
-
 
18
			{
16
		{
19
				$_SESSION["redirected"] = true;
17
			header("Location:/backend/Login/");
20
				header("Location:/backend/Login/");
-
 
21
				exit;
18
			exit;
22
			}
19
		}
23
		}
20
		$CI = &get_instance();
24
		$CI = &get_instance();
21
		$web_rechte = array();
25
		$web_rechte = array();
22
		$user_rechte = array();
26
		$user_rechte = array();