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 | wb_change_config('internet-check-url', db_escape($internet_check_url), $modul); |
||
8 | if ((isset($internet-check-port)) && (is_numeric($internet-check-port))) |
||
9 | wb_change_config('internet-check-port', db_escape($internet_check_port), $modul); |
||
10 | |||
11 | if (!isset($vonmodul)) $vonmodul = 'admin_configuration'; |
||
12 | if (!isset($vonseite)) $vonseite = 'main'; |
||
13 | |||
14 | $check = inetconn_ok(); |
||
15 | |||
16 | if ($check) |
||
17 | wb_redirect_now($_SERVER['PHP_SELF'].'?seite='.$vonseite.'&modul='.$vonmodul); |
||
18 | else |
||
19 | wb_redirect_now($_SERVER['PHP_SELF'].'?seite=config&modul='.$modul.'&vonseite='.$vonseite.'&vonmodul='.$vonmodul); |
||
20 | } |
||
21 | |||
22 | ?> |