Skip to content
Snippets Groups Projects
Commit 4fafd389 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

re #9 : revert latest change

parent d1e93953
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ class MarketImage extends SimpleORMap { ...@@ -21,7 +21,7 @@ class MarketImage extends SimpleORMap {
} }
public function getURL() { public function getURL() {
return "plugins.php/pluginmarket/presenting/image/".$this->getId(); return URLHelper::getURL("plugins.php/pluginmarket/presenting/image/".$this->getId(), array(), true);
} }
public function delete() { public function delete() {
......
...@@ -68,7 +68,7 @@ class MarketPlugin extends SimpleORMap { ...@@ -68,7 +68,7 @@ class MarketPlugin extends SimpleORMap {
public function getLogoURL() { public function getLogoURL() {
$firstimage = $this->images->first(); $firstimage = $this->images->first();
return $firstimage ? $firstimage->getURL() : "assets/images/icons/blue/plugin.svg"; return $firstimage ? $firstimage->getURL() : Assets::image_path("icons/blue/plugin.svg");
} }
public function setTags($tags) { public function setTags($tags) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment