Skip to content

Commit 66db224

Browse files
committed
MAGETWO-52660: Improve performance of static assets deployment
- MAGETWO-57185: Porting to 2.1
1 parent 25a153f commit 66db224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Deploy/Model/Deployer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ private function getOption($name)
185185
private function checkSkip($filePath)
186186
{
187187
if ($filePath != '.') {
188-
$ext = pathinfo($filePath, PATHINFO_EXTENSION);
188+
$ext = strtolower(pathinfo($filePath, PATHINFO_EXTENSION));
189189
$option = isset(self::$fileExtensionOptionMap[$ext]) ? self::$fileExtensionOptionMap[$ext] : null;
190190

191191
return $option ? $this->getOption($option) : false;

0 commit comments

Comments
 (0)