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
0a0ca4f6
Commit
0a0ca4f6
authored
Mar 19, 2014
by
Marius Cramer
Browse files
Fixed warning message on openSuse due to apache2 module check
parent
922807a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/lib/install.lib.php
View file @
0a0ca4f6
...
...
@@ -865,7 +865,7 @@ function getapachemodules() {
return
array
();
}
exec
(
$cmd
,
$output
,
$return_var
);
exec
(
$cmd
.
' 2>/dev/null'
,
$output
,
$return_var
);
if
(
$return_var
!=
0
||
!
$output
[
0
])
{
$app
->
log
(
"Could not check apache modules, apachectl did not return any data."
,
LOGLEVEL_WARN
);
return
array
();
...
...
server/lib/classes/system.inc.php
View file @
0a0ca4f6
...
...
@@ -1770,7 +1770,7 @@ class system{
return
array
();
}
exec
(
$cmd
,
$output
,
$return_var
);
exec
(
$cmd
.
' 2>/dev/null'
,
$output
,
$return_var
);
if
(
$return_var
!=
0
||
!
$output
[
0
])
{
$app
->
log
(
"Could not check apache modules, apachectl did not return any data."
,
LOGLEVEL_WARN
);
return
array
();
...
...
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