Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9eaec85

Browse filesBrowse files
committed
Fix missing $extraDirs when open_basedir returns
1 parent fa308e2 commit 9eaec85
Copy full SHA for 9eaec85

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Process/ExecutableFinder.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/ExecutableFinder.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function find($name, $default = null, array $extraDirs = [])
5252
{
5353
if (ini_get('open_basedir')) {
5454
$searchPath = explode(PATH_SEPARATOR, ini_get('open_basedir'));
55-
$dirs = [];
55+
$dirs = $extraDirs;
5656
foreach ($searchPath as $path) {
5757
// Silencing against https://bugs.php.net/69240
5858
if (@is_dir($path)) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.