diff --git a/src/Models/Hit.php b/src/Models/Hit.php index cdf9410..55f9670 100644 --- a/src/Models/Hit.php +++ b/src/Models/Hit.php @@ -204,7 +204,7 @@ class Hit throw new \Exception("Invalid feature!"); } - return realpath(__DIR__ . "/../../files/hits/".$feature."/".$this->getId() ); + return realpath(__DIR__ . "/../../files/hits/".$feature."/".$this->getId() . '.jpg' ); } /**