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('ftp-server', db_escape($ftpserver), $modul); |
||
10 | ib_change_config('ftp-username', db_escape($ftpuser), $modul); |
||
11 | ib_change_config('ftp-passwort', db_escape($ftppassword), $modul); |
||
12 | ib_change_config('ftp-verzeichnis', db_escape($ftpverzeichnis), $modul); |
||
13 | if ((isset($ftpport)) && (is_numeric($ftpport))) |
||
14 | ib_change_config('ftp-port', db_escape($ftpport), $modul); |
||
15 | |||
16 | if (!isset($vonmodul)) $vonmodul = 'admin_konfig'; |
||
17 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
||
18 | |||
19 | if ((isset($zwischenspeichern)) && ($zwischenspeichern == '1')) |
||
20 | { |
||
8 | daniel-mar | 21 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite=konfig&modul='.urlencode($modul).'&vonmodul='.urlencode($vonmodul).'&vonseite='.urlencode($vonseite)); |
2 | daniel-mar | 22 | } |
23 | else |
||
24 | { |
||
8 | daniel-mar | 25 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite='.urlencode($vonseite).'&modul='.urlencode($vonmodul)); |
2 | daniel-mar | 26 | } |
27 | } |
||
28 | |||
3 | daniel-mar | 29 | ?> |