Permalink
Browse files

Putting in fix for directly requesting an unfiltered image triggering…

…`checkReferrer()` when it shouldn't
  • Loading branch information...
meenie committed Jul 25, 2013
1 parent 90ff669 commit 0386f343434c694037560c2ebc98ae17f22fd5b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Munee/Asset/Type/Image.php
@@ -80,7 +80,7 @@ protected function checkCache($originalFile, $cacheFile)
return file_get_contents($cacheFile);
}
if ($this->options['checkReferrer']) {
if (count($this->filters) > 0 && $this->options['checkReferrer']) {
$this->checkReferrer();
}

0 comments on commit 0386f34

Please sign in to comment.