Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-02-13 14:02:17 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-02-13 14:02:17 (GMT)
commitee3d5d599a5b4f2f1fef0de7e9ae3ff7a5cb94b3 (patch)
tree729293f252dfdec166e220093dd6c10a914c4dfd
parentb1ffcde23ddd2f40783cf05c5b837913f55a17ea (diff)
Unhardcode firefox from icon url
-rw-r--r--site/app/controllers/components/image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/controllers/components/image.php b/site/app/controllers/components/image.php
index 54b1927..721d373 100644
--- a/site/app/controllers/components/image.php
+++ b/site/app/controllers/components/image.php
@@ -119,7 +119,7 @@ class ImageComponent extends Object {
}
}
else {
- return "{$this->controller->base}/en-US/firefox/images/addon_icon/{$addon_id}/".strtotime($addon['Addon']['modified']);
+ return "{$this->controller->base}/en-US/".APP_SHORTNAME."/images/addon_icon/{$addon_id}/".strtotime($addon['Addon']['modified']);
}
}