mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 11:51:43 +02: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
|
$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))
|
if (file_exists($this->$name))
|
||||||
{
|
{
|
||||||
@ -590,7 +590,7 @@
|
|||||||
$this->$name = substr($this->$name,0,$pos);
|
$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
|
$this->$name = $name; // hopefully its in the path
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user