aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 21:34:52 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 21:34:52 +0000
commit59bbd848d809da169e0d6baadce4890ac375b90b (patch)
tree06db4a13fba5a4d96a3eb68fefe75b0874e02738 /engine/lib/entities.php
parent9dc88628c96d2c959b30a55d19fc39a31b434589 (diff)
downloadelgg-59bbd848d809da169e0d6baadce4890ac375b90b.tar.gz
elgg-59bbd848d809da169e0d6baadce4890ac375b90b.tar.bz2
Refs #2463: Added URL normalization support for entity and extender url handlers
git-svn-id: http://code.elgg.org/elgg/trunk@7203 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 58afd178c..1fe657808 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -2215,7 +2215,7 @@ function default_entity_icon_hook($hook, $entity_type, $returnvalue, $params) {
}
if (@file_exists($CONFIG->path . $url)) {
- return $CONFIG->url . $url;
+ return elgg_get_site_url().$url;
}
}
}