Fix get filename
This commit is contained in:
parent
51dfdb41f8
commit
516bc4cd20
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class Hit
|
||||||
throw new \Exception("Invalid feature!");
|
throw new \Exception("Invalid feature!");
|
||||||
}
|
}
|
||||||
|
|
||||||
return realpath(__DIR__ . "/../../files/hits/".$feature."/".$this->getId() );
|
return realpath(__DIR__ . "/../../files/hits/".$feature."/".$this->getId() . '.jpg' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue