Rev 12 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
12 | daniel-mar | 1 | <?php |
2 | |||
14 | daniel-mar | 3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
12 | daniel-mar | 4 | |
14 | daniel-mar | 5 | if ($wb_user_type < 2) die('Keine Zugriffsberechtigung'); |
12 | daniel-mar | 6 | |
7 | if ($aktion == 'changekonfig') |
||
8 | { |
||
9 | if ((!isset($enabledebug)) || (($enabledebug == '') || (($enabledebug != '') && ($enabledebug != '1')))) $enabledebug = 0; |
||
10 | |||
11 | if (!isset($vonmodul)) $vonmodul = 'admin_konfig'; |
||
12 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
||
13 | |||
14 | if ($enabledebug) |
||
15 | $enabledebug = '1'; |
||
16 | else |
||
17 | $enabledebug = '0'; |
||
18 | |||
19 | ib_change_config('debug', $enabledebug, $modul); |
||
20 | |||
21 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite='.urlencode($vonseite).'&modul='.urlencode($vonmodul).''); |
||
22 | } |
||
23 | |||
24 | ?> |