Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | <?php |
2 | |||
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
||
4 | |||
5 | if ($aktion == 'change_configuration') |
||
6 | { |
||
7 | if ((!isset($allowuserreg)) || (($allowuserreg == '') || (($allowuserreg != '') && ($allowuserreg != '1')))) $allowuserreg = 0; |
||
8 | |||
9 | wb_change_config('enable_userreg', $allowuserreg, $modul); |
||
10 | if ((isset($sperrdauer)) && (is_numeric($sperrdauer))) |
||
11 | wb_change_config('sperrdauer', $sperrdauer, $modul); |
||
12 | |||
13 | if (!isset($vonmodul)) $vonmodul = 'admin_configuration'; |
||
14 | if (!isset($vonseite)) $vonseite = 'main'; |
||
15 | |||
16 | wb_redirect_now($_SERVER['PHP_SELF'].'?seite='.$vonseite.'&modul='.$vonmodul); |
||
17 | } |
||
18 | |||
19 | ?> |