Merge branch 'master' into 'master'
Master
See merge request !173
| | |
| | | 'type' => 'TOLOWER') |
| | | ), |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-9\.\-\*]{0,255}$/', |
| | | 'regex' => '/^[a-zA-Z0-9\.\-\*\_]{0,255}$/', |
| | | 'errmsg'=> 'name_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | } |
| | | } |
| | | } |
| | | if( $server_config['backup_dir_is_mount'] == 'y' ) $app->system->umount_backup_dir($backup_dir); |
| | | } else { |
| | | $app->log('Backup directory not ready.', LOGLEVEL_DEBUG); |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | if( $server_config['backup_dir_is_mount'] == 'y' ) $app->system->umount_backup_dir($backup_dir); |
| | | } else { |
| | | $app->log('Backup directory not ready.', LOGLEVEL_DEBUG); |
| | | } |
| | |
| | | */ |
| | | function get_amavis_config() { |
| | | $pos_config=array( |
| | | '/etc/amavisd.conf', |
| | | '/etc/amavisd.conf/50-user', |
| | | '/etc/amavis/conf.d/50-user', |
| | | '/etc/amavisd.conf', |
| | | '/etc/amavisd/amavisd.conf' |
| | | ); |
| | | $amavis_configfile=''; |