From c9435bcf367b6a54d396caf9d4fac4c39b43167a Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 29 Aug 2012 05:23:36 -0400
Subject: [PATCH] Fixed: FS#2324 - Moving a mail domain from a client to another doesn't work totally?
---
server/plugins-available/apache2_plugin.inc.php | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php
index d64d7b0..c3e9cf3 100644
--- a/server/plugins-available/apache2_plugin.inc.php
+++ b/server/plugins-available/apache2_plugin.inc.php
@@ -1470,13 +1470,9 @@
if($subdomain_host == '') $subdomain_host = 'web'.$data['old']['domain_id'];
$web_folder = $data['old']['web_folder'];
$log_folder .= '/' . $subdomain_host;
- $parent_web_document_root = $tmp['document_root'];
- $app->system->web_folder_protection($parent_web_document_root,false);
unset($tmp);
- } else {
- $app->system->web_folder_protection($data['old']['document_root'],false);
}
-
+
exec('umount '.escapeshellarg($data['old']['document_root'].'/'.$log_folder));
//* remove mountpoint from fstab
--
Gitblit v1.9.1