Fixxed assets URLs (on Windows, DS is \ !)

This commit is contained in:
Franck Allimant
2013-12-02 18:07:11 +01:00
parent 9b165483d9
commit 3e4bc0378c

View File

@@ -339,6 +339,6 @@ class AsseticAssetManager implements AssetManagerInterface
$writer->writeAsset($asset);
}
return rtrim($outputUrl, DS) . DS . trim($outputRelativeWebPath, DS) . DS . trim($assetFileDirectoryInAssetDirectory, DS) . DS . ltrim($assetTargetFilename, DS);
return rtrim($outputUrl, '/') . '/' . trim($outputRelativeWebPath, '/') . '/' . trim($assetFileDirectoryInAssetDirectory, '/') . '/' . ltrim($assetTargetFilename, '/');
}
}