Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
97681579
Commit
97681579
authored
Oct 07, 2009
by
tbrehm
Browse files
Fixed a bug in the app detection code.
parent
6ecbdc80
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/install.lib.php
View file @
97681579
...
...
@@ -606,7 +606,7 @@ function removeLine($filename,$search_pattern,$strict = 0) {
}
function
is_installed
(
$appname
)
{
exec
(
'which '
.
escapeshellcmd
(
$appname
)
.
'
> /dev/null
2> /dev/null'
,
$out
);
exec
(
'which '
.
escapeshellcmd
(
$appname
)
.
' 2> /dev/null'
,
$out
);
if
(
isset
(
$out
[
0
])
&&
stristr
(
$out
[
0
],
$appname
))
{
return
true
;
}
else
{
...
...
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