From e1cdaebca2addd940a8b8447e8db8baf96238a91 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 19 Sep 2010 08:21:30 -0400
Subject: [PATCH] Fixed a bug in directory creation code of the backup function.
---
server/cron_daily.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/cron_daily.php b/server/cron_daily.php
index f311e75..8b90e8e 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -388,7 +388,7 @@
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'";
--
Gitblit v1.9.1