Commit e29d3f92 authored by Laura Heimann's avatar Laura Heimann

added env path for cover to Song entity

parent 3d2329af
......@@ -573,7 +573,8 @@ class Song
'uploadDate' => $this->uploadDate,
'updateDate' => $this->updateDate,
'updateHash' => $this->updateHash,
'description' => $this->description
'description' => $this->description,
'cover' => $_ENV['ASSET_BASE_URL'].DIRECTORY_SEPARATOR.$_ENV['ASSET_COVER_FOLDER'].DIRECTORY_SEPARATOR.$this->getFileReference().".png"
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment