diff --git a/phpgwapi/inc/class.asyncservice.inc.php b/phpgwapi/inc/class.asyncservice.inc.php index 095defbf4f..fa6b0804c4 100644 --- a/phpgwapi/inc/class.asyncservice.inc.php +++ b/phpgwapi/inc/class.asyncservice.inc.php @@ -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 }