From c3adfabb30d9c2b2646f4dbf7a73168c483732ba Mon Sep 17 00:00:00 2001 From: Emilien Escalle Date: Mon, 20 Aug 2018 23:09:39 +0200 Subject: [PATCH] Fix glob path loading in assets configuration --- src/AssetsBundle/AssetFile/AssetFilesConfiguration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AssetsBundle/AssetFile/AssetFilesConfiguration.php b/src/AssetsBundle/AssetFile/AssetFilesConfiguration.php index d77b6ce..82f833c 100644 --- a/src/AssetsBundle/AssetFile/AssetFilesConfiguration.php +++ b/src/AssetsBundle/AssetFile/AssetFilesConfiguration.php @@ -184,7 +184,7 @@ public function getAssetFileFromFilePath(\AssetsBundle\AssetFile\AssetFile $oAss elseif (strpos($sAssetRealPath, '*') !== false) { $oGlobIterator = new \GlobIterator($sAssetRealPath); foreach ($oGlobIterator as $oItem) { - $this->getAssetFileFromFilePath($oAssetFile, $oItem->key()); + $this->getAssetFileFromFilePath($oAssetFile, $oItem->getRealPath()); } return $this; }