Fixed upload folder typo

This commit is contained in:
Lucas Bartholemy 2017-01-26 18:02:17 +01:00
parent 37a7832850
commit d35ace1154

View File

@ -76,7 +76,7 @@ class ProfileImage
public function getUrl($prefix = "", $scheme = false)
{
if (file_exists($this->getPath($prefix))) {
$path = '@web/' . $this->folder_images . '/';
$path = '@web/uploads/' . $this->folder_images . '/';
$path .= $this->guid . $prefix;
$path .= '.jpg?m=' . filemtime($this->getPath($prefix));
} else {