Fix get filename

This commit is contained in:
Ruben 2016-09-14 16:54:07 +01:00
parent 51dfdb41f8
commit 516bc4cd20

View file

@ -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' );
}
/**