diff --git a/src/services/PDFThumbService.php b/src/services/PDFThumbService.php index c80ee45..10e2209 100644 --- a/src/services/PDFThumbService.php +++ b/src/services/PDFThumbService.php @@ -111,7 +111,7 @@ private function cache_storage_path() { return $this->storage_path() . $this->cache_folder; } private function pdf() { - return $this->storage_path() . $this->asset->filename; + return $this->storage_path() . $this->asset->folderPath . $this->asset->filename; } private function cache_key() { $parts = array( @@ -124,4 +124,4 @@ private function slashify($string) { $string = trim($string, '/'); return "/$string/"; } -} \ No newline at end of file +}