From a39c363e0300adeb31caf481995933d5532e9fdb Mon Sep 17 00:00:00 2001 From: mcramer <m.cramer@pixcept.de> Date: Wed, 22 Aug 2012 06:50:31 -0400 Subject: [PATCH] Bugfix: web folder protection was not re-added after deleting subdomains/aliasdomains --- server/plugins-available/apache2_plugin.inc.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index ce9b8df..7aaee6f 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -1606,6 +1606,7 @@ } } + if($data['old']['type'] != 'vhost') $app->system->web_folder_protection($data['old']['document_root'],true); } //* This function is called when a IP on the server is inserted, updated or deleted -- Gitblit v1.9.1