Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
aadcccbd
Commit
aadcccbd
authored
Aug 22, 2012
by
mcramer
Browse files
Changed: Docroot of subdomains and websites are the same, so removed code getting parent docroot
Fixed: folder protection is removed twice
parent
9ec43488
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
aadcccbd
...
...
@@ -1470,13 +1470,9 @@ class apache2_plugin {
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment