1
0
Fork 0

Fix for issue #6492

Able to include specific finle in phar in "files" option in composer
pull/6499/head
Saumini Navaratnam 2017-06-19 12:32:39 +08:00 committed by Jordi Boggiano
parent db7616885d
commit 27b8209990
1 changed files with 4 additions and 0 deletions

View File

@ -534,6 +534,10 @@ EOF;
} }
} }
if (preg_match('/\.phar.+$/', $path)) {
$baseDir = "'phar://' . " . $baseDir;
}
return $baseDir . (($path !== false) ? var_export($path, true) : ""); return $baseDir . (($path !== false) ? var_export($path, true) : "");
} }