|
@@ -164,8 +164,8 @@ discard block |
|
|
block discarded – undo |
|
164
|
164
|
$assetContent = $this->readFiles($assetFiles); |
|
165
|
165
|
|
|
166
|
166
|
// Вычисляем путь до файла куда будет сохранен asset |
|
167
|
|
- $assetSavePath = $this->manifest()->getAssetBasePathFromProjectRoot() . '/' . $assetName; |
|
168
|
|
- $assetWebPath = $this->manifest()->getAssetBasePath() . '/' . $assetName; |
|
|
167
|
+ $assetSavePath = $this->manifest()->getAssetBasePathFromProjectRoot().'/'.$assetName; |
|
|
168
|
+ $assetWebPath = $this->manifest()->getAssetBasePath().'/'.$assetName; |
|
169
|
169
|
|
|
170
|
170
|
// Если необходимо сжать asset`ы |
|
171
|
171
|
if ($this->isCompressorEnabled()) { |
|
@@ -259,9 +259,9 @@ discard block |
|
|
block discarded – undo |
|
259
|
259
|
protected function getFreezingAssetFileName($assetName, $assetHash) |
|
260
|
260
|
{ |
|
261
|
261
|
$fileInfo = pathinfo($assetName); |
|
262
|
|
- $fileName = $fileInfo['filename'] . '-' . $assetHash . '.' . $fileInfo['extension']; |
|
|
262
|
+ $fileName = $fileInfo['filename'].'-'.$assetHash.'.'.$fileInfo['extension']; |
|
263
|
263
|
|
|
264
|
|
- return $this->manifest()->getAssetBasePathFromProjectRoot() . '/' . $fileInfo['dirname'] . '/' . $fileName; |
|
|
264
|
+ return $this->manifest()->getAssetBasePathFromProjectRoot().'/'.$fileInfo['dirname'].'/'.$fileName; |
|
265
|
265
|
} |
|
266
|
266
|
|
|
267
|
267
|
/** |
Please login to merge, or discard this patch.