Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jozef Sroka
ISPConfig 3
Commits
bbc18587
Commit
bbc18587
authored
Sep 20, 2016
by
Till Brehm
Browse files
Fixed #4157 remove apachectl warning on non-apache hosts
parent
b8acb6e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/system.inc.php
View file @
bbc18587
...
...
@@ -1905,7 +1905,7 @@ class system{
if
(
$this
->
is_installed
(
'apache2ctl'
))
$cmd
=
'apache2ctl -v'
;
elseif
(
$this
->
is_installed
(
'apachectl'
))
$cmd
=
'apachectl -v'
;
else
{
$app
->
log
(
"Could not check apache version, apachectl not found."
,
LOGLEVEL_
WARN
);
$app
->
log
(
"Could not check apache version, apachectl not found."
,
LOGLEVEL_
DEBUG
);
return
'2.2'
;
}
...
...
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