mirror of
https://github.com/humhub/humhub.git
synced 2025-01-18 06:38:14 +01:00
Fixed upload folder typo
This commit is contained in:
parent
37a7832850
commit
d35ace1154
@ -76,7 +76,7 @@ class ProfileImage
|
|||||||
public function getUrl($prefix = "", $scheme = false)
|
public function getUrl($prefix = "", $scheme = false)
|
||||||
{
|
{
|
||||||
if (file_exists($this->getPath($prefix))) {
|
if (file_exists($this->getPath($prefix))) {
|
||||||
$path = '@web/' . $this->folder_images . '/';
|
$path = '@web/uploads/' . $this->folder_images . '/';
|
||||||
$path .= $this->guid . $prefix;
|
$path .= $this->guid . $prefix;
|
||||||
$path .= '.jpg?m=' . filemtime($this->getPath($prefix));
|
$path .= '.jpg?m=' . filemtime($this->getPath($prefix));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user