Commit e1cdaebc authored by tbrehm's avatar tbrehm
Browse files

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

parent d2212dda
......@@ -388,7 +388,7 @@ $backup_dir = $server_config['backup_dir'];
if($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'";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment