Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
93e7c2d5
Commit
93e7c2d5
authored
Mar 17, 2016
by
Florian Schaal
Browse files
changed regex for backup_dir (allow empty backup-dir to disable backups)
parent
81b7f708
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/admin/form/server_config.tform.php
View file @
93e7c2d5
...
...
@@ -170,7 +170,7 @@ $form["tabs"]['server'] = array(
'formtype'
=>
'TEXT'
,
'default'
=>
'/var/backup'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^\/[a-zA-Z0-9\.\-\_\/]
{5,128}$/
'
,
'regex'
=>
"/(|^
\\
/
{
1,2}(?:[\\w-]+[.]?\\/?)
{5,128
}
)
$/
"
;
'errmsg'
=>
'backup_dir_error_regex'
),
),
'value'
=>
''
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment