Rev 12 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 14 | ||
---|---|---|---|
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 ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
5 | if ($wb_user_type < 2) die('Keine Zugriffsberechtigung'); |
6 | 6 | ||
7 | if ($aktion == 'changekonfig') |
7 | if ($aktion == 'changekonfig') |
8 | { |
8 | { |
9 | if ((!isset($allowuserreg)) || (($allowuserreg == '') || (($allowuserreg != '') && ($allowuserreg != '1')))) $allowuserreg = 0; |
9 | if ((!isset($allowuserreg)) || (($allowuserreg == '') || (($allowuserreg != '') && ($allowuserreg != '1')))) $allowuserreg = 0; |
10 | 10 | ||
11 | ib_change_config('enable_userreg', $allowuserreg, $modul); |
11 | ib_change_config('enable_userreg', $allowuserreg, $modul); |
12 | if ((isset($sperrdauer)) && (is_numeric($sperrdauer))) |
12 | if ((isset($sperrdauer)) && (is_numeric($sperrdauer))) |
13 | ib_change_config('sperrdauer', $sperrdauer, $modul); |
13 | ib_change_config('sperrdauer', $sperrdauer, $modul); |
14 | 14 | ||
15 | if (!isset($vonmodul)) $vonmodul = 'admin_konfig'; |
15 | if (!isset($vonmodul)) $vonmodul = 'admin_konfig'; |
16 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
16 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
17 | 17 | ||
18 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite='.urlencode($vonseite).'&modul='.urlencode($vonmodul)); |
18 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite='.urlencode($vonseite).'&modul='.urlencode($vonmodul)); |
19 | } |
19 | } |
20 | 20 | ||
21 | ?> |
21 | ?> |
22 | 22 |