Dominik
2014-04-04 86241bd24d54b5baf2fe0f76a1350445f0d180f9
Backups können bei vhost-domains nicht mehr gemacht werden
1 files deleted
2 files modified
98 ■■■■■ changed files
install/sql/ispconfig3.sql 2 ●●●●● patch | view | raw | blame | history
interface/web/sites/form/web_vhost_domain.tform.php 51 ●●●●● patch | view | raw | blame | history
interface/web/sites/templates/web_vhost_domain_backup.htm 45 ●●●●● patch | view | raw | blame | history
install/sql/ispconfig3.sql
@@ -204,6 +204,7 @@
  `limit_shell_user` int(11) NOT NULL DEFAULT '0',
  `ssh_chroot` varchar(255) NOT NULL DEFAULT 'no,jailkit,ssh-chroot',
  `limit_webdav_user` int(11) NOT NULL DEFAULT '0',
  `limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n',
  `limit_aps` int(11) NOT NULL DEFAULT '-1',
  `default_dnsserver` int(11) unsigned NOT NULL DEFAULT '1',
  `db_servers` blob NOT NULL,
@@ -313,6 +314,7 @@
  `limit_shell_user` int(11) NOT NULL default '0',
  `ssh_chroot` varchar(255) NOT NULL DEFAULT 'no',
  `limit_webdav_user` int(11) NOT NULL default '0',
  `limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n',
  `limit_aps` int(11) NOT NULL DEFAULT '-1',
  `limit_dns_zone` int(11) NOT NULL default '-1',
  `limit_dns_slave_zone` int(11) NOT NULL default '-1',
interface/web/sites/form/web_vhost_domain.tform.php
@@ -561,57 +561,6 @@
    )
);
// if($_SESSION["s"]["user"]["typ"] == 'admin') {
//* Backup
$form["tabs"]['backup'] = array (
    'title'  => "Backup",
    'width'  => 100,
    'template'  => "templates/web_vhost_domain_backup.htm",
    'readonly' => false,
    'fields'  => array (
        //#################################
        // Begin Datatable fields
        //#################################
        'backup_interval' => array (
            'datatype' => 'VARCHAR',
            'formtype' => 'SELECT',
            'default' => '',
            'value'  => array('none' => 'no_backup_txt', 'daily' => 'daily_backup_txt', 'weekly' => 'weekly_backup_txt', 'monthly' => 'monthly_backup_txt')
        ),
        'backup_copies' => array (
            'datatype' => 'INTEGER',
            'formtype' => 'SELECT',
            'default' => '',
            'value'  => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9', '10' => '10')
        ),
        'backup_excludes' => array (
            'datatype' => 'VARCHAR',
            'validators' => array (  0 => array ( 'type' => 'REGEX',
                    'regex' => '@^(?!.*\.\.)[-a-zA-Z0-9_/.~,*]*$@',
                    'errmsg'=> 'backup_excludes_error_regex'),
            ),
            'formtype' => 'TEXT',
            'default' => '',
            'value'  => '',
            'width'  => '30',
            'maxlength' => '255'
        ),
        //#################################
        // ENDE Datatable fields
        //#################################
    ),
    'plugins' => array (
        'backup_records' => array (
            'class'   => 'plugin_backuplist',
            'options' => array(
            )
        )
    )
);
// }
if($_SESSION["s"]["user"]["typ"] == 'admin'
    || ($web_config['reseller_can_use_options'] == 'y' && $app->auth->has_clients($_SESSION['s']['user']['userid']))) {
interface/web/sites/templates/web_vhost_domain_backup.htm
File was deleted