Set low module weight

mikey_p - August 12, 2009 - 23:24
Project:Autoload
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Ideally there is no reason that the autoload module shouldn't be one of the first, if not the first module to load on a site. I've made it a point to always set the weight to -100, so that it is available to other modules in hook_init, even if they come before autoload in the module list *cough*analytics*cough*.

#1

mikey_p - August 17, 2009 - 17:38
Status:active» needs review

Seems to work okay here. I don't know if there are any other implications for this, but with things like DBTNG for D6 relying on this, things can get messy if classes don't work as soon as possible during bootstrap.

AttachmentSize
547728-1.patch 640 bytes

#2

Crell - August 27, 2009 - 23:12
Status:needs review» fixed

I don't see how this can break anything. :-) Committed. Thanks!

#3

System Message - September 10, 2009 - 23:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.