fixed CS
This commit is contained in:
parent
6a5eac7150
commit
b93d2bf941
@ -51,10 +51,7 @@ class ExecutableFinder
|
|||||||
public function find($name, $default = null, array $extraDirs = [])
|
public function find($name, $default = null, array $extraDirs = [])
|
||||||
{
|
{
|
||||||
if (ini_get('open_basedir')) {
|
if (ini_get('open_basedir')) {
|
||||||
$searchPath = array_merge(
|
$searchPath = array_merge(explode(PATH_SEPARATOR, ini_get('open_basedir')), $extraDirs);
|
||||||
explode(PATH_SEPARATOR, ini_get('open_basedir')),
|
|
||||||
$extraDirs
|
|
||||||
);
|
|
||||||
$dirs = [];
|
$dirs = [];
|
||||||
foreach ($searchPath as $path) {
|
foreach ($searchPath as $path) {
|
||||||
// Silencing against https://bugs.php.net/69240
|
// Silencing against https://bugs.php.net/69240
|
||||||
|
Reference in New Issue
Block a user