Skip to content

Commit

Permalink
Fix missing $extraDirs when open_basedir returns
Browse files Browse the repository at this point in the history
  • Loading branch information
arsonik committed Apr 8, 2019
1 parent fa308e2 commit 9eaec85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Process/ExecutableFinder.php
Expand Up @@ -52,7 +52,7 @@ public function find($name, $default = null, array $extraDirs = [])
{
if (ini_get('open_basedir')) {
$searchPath = explode(PATH_SEPARATOR, ini_get('open_basedir'));
$dirs = [];
$dirs = $extraDirs;
foreach ($searchPath as $path) {
// Silencing against https://bugs.php.net/69240
if (@is_dir($path)) {
Expand Down

0 comments on commit 9eaec85

Please sign in to comment.