Skip to content

Commit 569eec5

Browse files
author
Marius Burkard
committed
Merge branch '6277-website-backups-folder-not-created-on-backup-download' into 'develop'
Resolve "website 'backups' folder not created on backup download" Closes #6277 See merge request ispconfig/ispconfig3!1565
2 parents dd5741e + fed6285 commit 569eec5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ function update($event_name, $data) {
724724
if(!is_dir($data['new']['document_root'].'/cgi-bin')) $app->system->mkdirpath($data['new']['document_root'].'/cgi-bin');
725725
if(!is_dir($data['new']['document_root'].'/tmp')) $app->system->mkdirpath($data['new']['document_root'].'/tmp', 0770);
726726
if(!is_dir($data['new']['document_root'].'/webdav')) $app->system->mkdirpath($data['new']['document_root'].'/webdav');
727+
if(!is_dir($data['new']['document_root'].'/backup')) $app->system->mkdirpath($data['new']['document_root'].'/backup');
727728

728729
if(!is_dir($data['new']['document_root'].'/.ssh')) {
729730
$app->system->mkdirpath($data['new']['document_root'].'/.ssh');

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ function update($event_name, $data) {
567567
if(!is_dir($data['new']['document_root'].'/ssl')) $app->system->mkdirpath($data['new']['document_root'].'/ssl');
568568
if(!is_dir($data['new']['document_root'].'/cgi-bin')) $app->system->mkdirpath($data['new']['document_root'].'/cgi-bin');
569569
if(!is_dir($data['new']['document_root'].'/tmp')) $app->system->mkdirpath($data['new']['document_root'].'/tmp');
570+
if(!is_dir($data['new']['document_root'].'/backup')) $app->system->mkdirpath($data['new']['document_root'].'/backup');
570571

571572
if(!is_dir($data['new']['document_root'].'/.ssh')) {
572573
$app->system->mkdirpath($data['new']['document_root'].'/.ssh');

0 commit comments

Comments
 (0)