Rev 4 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | daniel-mar | 3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
2 | daniel-mar | 4 | |
5 | if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
||
6 | |||
7 | if ($aktion == 'changekonfig') |
||
8 | { |
||
9 | ib_change_config('internet-check-url', db_escape($internet_check_url), $modul); |
||
3 | daniel-mar | 10 | if (isset($internet_check_port) && is_numeric($internet_check_port)) |
2 | daniel-mar | 11 | ib_change_config('internet-check-port', db_escape($internet_check_port), $modul); |
12 | |||
13 | if (!isset($vonmodul)) $vonmodul = 'admin_konfig'; |
||
14 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
||
15 | |||
16 | $check = inetconn_ok(); |
||
17 | |||
18 | if (!headers_sent()) |
||
19 | { |
||
20 | if ($check) |
||
8 | daniel-mar | 21 | header('location: '.$_SERVER['PHP_SELF'].'?seite='.urlencode($vonseite).'&modul='.urlencode($vonmodul)); |
2 | daniel-mar | 22 | else |
8 | daniel-mar | 23 | header('location: '.$_SERVER['PHP_SELF'].'?seite=konfig&modul='.urlencode($modul).'&vonseite='.urlencode($vonseite).'&vonmodul='.urlencode($vonmodul)); |
2 | daniel-mar | 24 | } |
25 | } |
||
26 | |||
3 | daniel-mar | 27 | ?> |