Closed (duplicate)
Project:
Strongarm
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2011 at 18:09 UTC
Updated:
5 Oct 2011 at 11:18 UTC
A workaround has been proposed for Drupal 7, which unfortunately doesn't apply to D6, so I'm reopening a new ticket specific to D6.
http://drupal.org/node/1062452
This loading problem seems to cause a world of pain with any variables which are accessed outside of a function and so which need to be available before hook_init.
Comments
Comment #1
das-peter commentedgmania are you aware of this issue #1094598: Performance issues from strongarm_init() ? This approach makes all concerns about "when loading the variables" superfluous.
And as far as I know the changes were committed to 6.x as well as 7.x
Comment #2
gmania commentedYup, just found that, and it works like a charm. Closing this as a duplicate.