mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
killed warnings if executables not found
This commit is contained in:
parent
009a58f9a4
commit
e2eed6a73f
@ -568,7 +568,7 @@
|
||||
{
|
||||
$this->$name = $path; // a reasonable default for *nix
|
||||
|
||||
if (!($Ok = is_executable($this->$name)))
|
||||
if (!($Ok = @is_executable($this->$name)))
|
||||
{
|
||||
if (file_exists($this->$name))
|
||||
{
|
||||
@ -590,7 +590,7 @@
|
||||
$this->$name = substr($this->$name,0,$pos);
|
||||
}
|
||||
}
|
||||
if (!$Ok && !is_executable($this->$name))
|
||||
if (!$Ok && !@is_executable($this->$name))
|
||||
{
|
||||
$this->$name = $name; // hopefully its in the path
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user