Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
4b72c51b
Commit
4b72c51b
authored
Sep 26, 2010
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a warning message when websites get deleted.
parent
531afaba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/plugins-available/apache2_plugin.inc.php
server/plugins-available/apache2_plugin.inc.php
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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