Skip to content
Snippets Groups Projects
Commit e1cdaebc authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug in directory creation code of the backup function.

parent d2212dda
No related branches found
No related tags found
No related merge requests found
...@@ -388,7 +388,7 @@ $backup_dir = $server_config['backup_dir']; ...@@ -388,7 +388,7 @@ $backup_dir = $server_config['backup_dir'];
if($backup_dir != '') { if($backup_dir != '') {
if(!is_dir($backup_dir)) { if(!is_dir($backup_dir)) {
mkdir(escapeshellarg($backup_dir), 0750, true); mkdir(escapeshellcmd($backup_dir), 0750, true);
} }
$sql = "SELECT * FROM web_domain WHERE type = 'vhost'"; $sql = "SELECT * FROM web_domain WHERE type = 'vhost'";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment