Closed (fixed)
Project:
Better Messages
Version:
6.x-1.10
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2009 at 10:41 UTC
Updated:
5 Apr 2010 at 10:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
beltofteHave a similar problem on a site under development. I looked in the code and I am quite sure that the reason is the use of file_scan_directory() on every page load where a message exists! To be honest is it quite insane to use this function here. It should of course only be used on the settings page in the administration, and all other places use the configured skin.
Comment #2
reubenavery commentedsubscribing.
Comment #3
reubenavery commentedI modified this function to store the skin files inside the drupal cache. Here's a patch. Can anyone think of a scenario where this might be a bad thing to do?
Comment #4
reubenavery commentedComment #5
mohammed j. razemNew release that fixed this.
Skins are no longer needed by Better Messages, instead you can override the
.tpland.cssas per your themes.See #607086: Overriding template