mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-25 10:33:18 +01:00
[Service] Fixing config file aliases for JSON includes
This commit is contained in:
parent
0318412538
commit
e850c7ddba
@ -59,7 +59,7 @@ class JsonLoader
|
||||
// Handle includes
|
||||
if (!empty($data['includes'])) {
|
||||
foreach ($data['includes'] as $path) {
|
||||
if ($path[0] != DIRECTORY_SEPARATOR) {
|
||||
if ($path[0] != DIRECTORY_SEPARATOR && !isset($this->aliases[$path])) {
|
||||
$path = dirname($jsonFile) . DIRECTORY_SEPARATOR . $path;
|
||||
}
|
||||
$data = $this->mergeJson($this->parseJsonFile($path), $data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user