[Process] Fixes issue #11421
This commit is contained in:
parent
9572918064
commit
02eb765a9c
@ -59,8 +59,7 @@ class ExecutableFinder
|
|||||||
if (is_dir($path)) {
|
if (is_dir($path)) {
|
||||||
$dirs[] = $path;
|
$dirs[] = $path;
|
||||||
} else {
|
} else {
|
||||||
$file = str_replace(dirname($path), '', $path);
|
if (basename($path) == $name && is_executable($path)) {
|
||||||
if ($file == $name && is_executable($path)) {
|
|
||||||
return $path;
|
return $path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user