|
@@ -85,7 +85,7 @@ |
|
|
block discarded – undo |
|
85
|
85
|
} |
|
86
|
86
|
|
|
87
|
87
|
// if file exists in /web, then use it first |
|
88
|
|
- $relativeAssetPath = $this->kernel->getBundle(substr($parts[0], 1))->getRelativeAssetPath() . '/' .$parts[1]; |
|
|
88
|
+ $relativeAssetPath = $this->kernel->getBundle(substr($parts[0], 1))->getRelativeAssetPath() . '/' . $parts[1]; |
|
89
|
89
|
$webPath = $this->assetPackages->getUrl($relativeAssetPath); |
|
90
|
90
|
$filePath = realpath($this->kernel->getRootDir() . '/../../../' . $webPath); |
|
91
|
91
|
if (is_file($filePath)) { |
Please login to merge, or discard this patch.