summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-06-19 08:43:59 +0000
committerDries Buytaert <dries@buytaert.net>2005-06-19 08:43:59 +0000
commitf12d5c5347322e77748ee9f74d642aeb54cc20e9 (patch)
treefe21b5d2aa63b372e76cf62ed4638dc8a03c3e22 /modules/forum/forum.module
parenta7af266b6d608dd9176bbafd433b86a9e78721d2 (diff)
downloadbrdo-f12d5c5347322e77748ee9f74d642aeb54cc20e9.tar.gz
brdo-f12d5c5347322e77748ee9f74d642aeb54cc20e9.tar.bz2
- Patch #21918 by budda/Robin: forum icons are broken when you change the forum icon path. TODO 1: the forum icons should probably be configurable on a per-site or per-theme basis. TODO 2: I spent 5 minutes looking for this setting.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 6bb116511..407200040 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -958,7 +958,7 @@ function _forum_icon($new_posts, $num_posts = 0, $comment_mode = 0, $sticky = 0)
}
// default
- $file = "misc/forum-$icon.png";
+ $file = variable_get('forum_icon_path', 'misc') ."/forum-$icon.png";
$output = theme('image', $file);
}