Skip to content

Commit

Permalink
allow for uppercased asset extensions (such as .JPG)
Browse files Browse the repository at this point in the history
  • Loading branch information
e10k committed Apr 27, 2013
1 parent eb43072 commit aee8019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Munee/Request.php
Expand Up @@ -147,7 +147,7 @@ public function init()
$this->setRawParam('minify', 'true');
}

$this->ext = pathinfo($this->rawFiles, PATHINFO_EXTENSION);
$this->ext = strtolower(pathinfo($this->rawFiles, PATHINFO_EXTENSION));
$supportedExtensions = Registry::getSupportedExtensions($this->ext);
// Suppressing errors because Exceptions thrown in the callback cause Warnings.
$webroot = $this->webroot;
Expand Down

0 comments on commit aee8019

Please sign in to comment.