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
lolo888
ISPConfig 3
Commits
4b72c51b
Commit
4b72c51b
authored
Sep 26, 2010
by
tbrehm
Browse files
Fixed a warning message when websites get deleted.
parent
531afaba
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
4b72c51b
...
...
@@ -927,7 +927,7 @@ class apache2_plugin {
$web_config
=
$app
->
getconf
->
get_server_config
(
$conf
[
"server_id"
],
'web'
);
//* Check if this is a chrooted setup
if
(
$web_config
[
'website_basedir'
]
!=
''
&&
@
is_file
(
$web_config
[
'
/var/www
'
]
.
'/etc/passwd'
))
{
if
(
$web_config
[
'website_basedir'
]
!=
''
&&
@
is_file
(
$web_config
[
'
website_basedir
'
]
.
'/etc/passwd'
))
{
$apache_chrooted
=
true
;
}
else
{
$apache_chrooted
=
false
;
...
...
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