Rev 12 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 14 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | if (!isset($secretkey)) $secretkey = ''; |
5 | if (!isset($secretkey)) $secretkey = ''; |
6 | 6 | ||
7 | if (!$konfiguration[$modul]['enabled']) |
7 | if (!$konfiguration[$modul]['enabled']) |
8 | { |
8 | { |
Line 39... | Line 39... | ||
39 | if ($erfolg) |
39 | if ($erfolg) |
40 | { |
40 | { |
41 | // @session_unset(); |
41 | // @session_unset(); |
42 | // @session_destroy(); |
42 | // @session_destroy(); |
43 | 43 | ||
44 | $_SESSION['ib_user_type'] = '1'; |
44 | $_SESSION['wb_user_type'] = '1'; |
45 | $_SESSION['ib_user_username'] = $ary[0]; |
45 | $_SESSION['ib_user_username'] = $ary[0]; |
46 | $_SESSION['ib_user_passwort'] = $ary[2]; |
46 | $_SESSION['ib_user_passwort'] = $ary[2]; |
47 | 47 | ||
48 | $rs = db_query("SELECT NOW()"); |
48 | $rs = db_query("SELECT NOW()"); |
49 | $rw = db_fetch($rs); |
49 | $rw = db_fetch($rs); |