From 516bc4cd20760e3ccda77268eedf382a72689184 Mon Sep 17 00:00:00 2001 From: Ruben Date: Wed, 14 Sep 2016 16:54:07 +0100 Subject: [PATCH] Fix get filename --- src/Models/Hit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); } /**