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($enabledebug)) || (($enabledebug == '') || (($enabledebug != '') && ($enabledebug != '1')))) $enabledebug = 0; |
||
8 | |||
9 | if (!isset($vonmodul)) $vonmodul = 'admin_configuration'; |
||
10 | if (!isset($vonseite)) $vonseite = 'main'; |
||
11 | |||
12 | if ($enabledebug) |
||
13 | $enabledebug = '1'; |
||
14 | else |
||
15 | $enabledebug = '0'; |
||
16 | |||
17 | wb_change_config('debug', $enabledebug, $modul); |
||
18 | |||
19 | wb_redirect_now($_SERVER['PHP_SELF'].'?seite='.$vonseite.'&modul='.$vonmodul.''); |
||
20 | } |
||
21 | |||
22 | ?> |