开发者

drupal module_list on every page load

In my devel query info I see module_list being run on every page.

This should n开发者_如何学Goot be right?

I feel like there's a whole bunch of incorrectly ran queries being run on my site, (there's some unidentified problem), and this is the function that stood out to me.


It's used during bootstrap meaning it's run on all pages. Normally it will just return a static variable, but during bootstrap it'll need to run a query to build the variables..

Drupal uses it to find out which modules you have installed, so it's a very essential function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜