Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
e1cdaebc
Commit
e1cdaebc
authored
Sep 19, 2010
by
tbrehm
Browse files
Fixed a bug in directory creation code of the backup function.
parent
d2212dda
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/cron_daily.php
View file @
e1cdaebc
...
...
@@ -388,7 +388,7 @@ $backup_dir = $server_config['backup_dir'];
if
(
$backup_dir
!=
''
)
{
if
(
!
is_dir
(
$backup_dir
))
{
mkdir
(
escapeshell
arg
(
$backup_dir
),
0750
,
true
);
mkdir
(
escapeshell
cmd
(
$backup_dir
),
0750
,
true
);
}
$sql
=
"SELECT * FROM web_domain WHERE type = 'vhost'"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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