Subversion Repositories personal-webbase

Rev

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&uuml;hrt werden.');
4
 
5
if ($aktion == 'change_configuration')
6
{
7
        wb_change_config('ftp-server', db_escape($ftpserver), $modul);
8
        wb_change_config('ftp-username', db_escape($ftpuser), $modul);
9
        wb_change_config('ftp-password', db_escape($ftppassword), $modul);
10
        wb_change_config('ftp-verzeichnis', db_escape($ftpverzeichnis), $modul);
11
        if ((isset($ftpport)) && (is_numeric($ftpport)))
12
        {
13
                wb_change_config('ftp-port', db_escape($ftpport), $modul);
14
        }
15
 
16
        if (!isset($vonmodul)) $vonmodul = 'admin_configuration';
17
        if (!isset($vonseite)) $vonseite = 'main';
18
 
19
        if ((isset($zwischenspeichern)) && ($zwischenspeichern == '1'))
20
        {
21
                wb_redirect_now($_SERVER['PHP_SELF'].'?seite=config&modul='.$modul.'&vonmodul='.$vonmodul.'&vonseite='.$vonseite);
22
        }
23
        else
24
        {
25
                wb_redirect_now($_SERVER['PHP_SELF'].'?seite='.$vonseite.'&modul='.$vonmodul);
26
        }
27
}
28
 
29
?>