We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f7ff78 + 23a3c39 commit 4cffaf9Copy full SHA for 4cffaf9
install/update.php
@@ -190,7 +190,7 @@
190
if($do_backup == 'yes') {
191
192
//* Create the backup directory
193
- $backup_path = '/var/backup/ispconfig_'.@date('Y-m-d_H-i');
+ $backup_path = '/var/backup/ispconfig_'.$conf['hostname'].'_'.@date('Y-m-d_H-i');
194
$conf['backup_path'] = $backup_path;
195
exec("mkdir -p $backup_path");
196
exec("chown root:root $backup_path");
interface/web/dns/form/dns_txt.tform.php
@@ -86,7 +86,7 @@
86
'type' => 'TOLOWER')
87
),
88
'validators' => array ( 0 => array ( 'type' => 'REGEX',
89
- 'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}$/',
+ 'regex' => '/^(\*\.|[a-zA-Z0-9\.\-\_]){0,255}$/',
90
'errmsg'=> 'name_error_regex'),
91
92
'default' => '',
0 commit comments