Permalink
Browse files

Generated filename now reflects tempUri setting - application can now…

… run on different directory levels and names.
  • Loading branch information...
1 parent 65f51a4 commit da16d9f7707930647f6c624567a896f4d51a6112 @ondrejmirtes ondrejmirtes committed with Dec 8, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 WebLoader.php
View
@@ -172,7 +172,7 @@ public function getGeneratedFilename(array $files = null)
$files = $this->files;
}
- $hash = md5(implode("|", $files) . "|" . $this->getLastModified($files) . "|" . $this->sourcePath);
+ $hash = md5(implode("|", $files) . "|" . $this->getLastModified($files) . "|" . $this->sourcePath . "|" . $this->tempUri);
$origFilenamePart = count($files) === 1 ? String::webalize($files[0]) . "-" : "";
return $this->generatedFileNamePrefix . $origFilenamePart . $hash . $this->generatedFileNameSuffix;

0 comments on commit da16d9f

Please sign in to comment.