Commit 050c0f28 authored by tbrehm's avatar tbrehm
Browse files

- changed update backup path.

parent 0dead879
......@@ -128,7 +128,7 @@ $do_backup = $inst->simple_query('Shall the script create a ISPConfig backup in
if($do_backup == 'yes') {
//* Create the backup directory
$backup_path = '/var/backup/backup/ispconfig_'.date('Y-m-d_H-i');
$backup_path = '/var/backup/ispconfig_'.date('Y-m-d_H-i');
$conf['backup_path'] = $backup_path;
exec("mkdir -p $backup_path");
exec("chown root:root $backup_path");
Markdown is supported
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