From f12d5c5347322e77748ee9f74d642aeb54cc20e9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 19 Jun 2005 08:43:59 +0000 Subject: - 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. --- modules/forum/forum.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum') 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); } -- cgit v1.2.3