When the 'mod_base' of modules will be invoked

9 views
Skip to first unread message

郎咸武

unread,
May 20, 2012, 6:30:58 AM5/20/12
to zotoni...@googlegroups.com

Hi guys,
I am reading  the zotonic source from 'ztonic_sup.erl' module. Finally, I feel the 'mod_base' is not invoked.  When  the 'mod_base' of modules will be invoked?
So, i am confused.

Cheers,Jason

--
只为成功找方法,不为失败找理由

Andreas Stenius

unread,
May 20, 2012, 10:20:24 AM5/20/12
to zotoni...@googlegroups.com
Hi,


mod_base is started for each site that has mod_base enabled (which all sites most likely will have).
(See  https://github.com/zotonic/zotonic/blob/master/src/support/z_site_sup.erl  to find which processes are started per site)

It can be a bit tricky to follow with the new dependency stuff... happy reading :)

Cheers,
Andreas

2012/5/20 郎咸武 <langx...@gmail.com>
Reply all
Reply to author
Forward
0 new messages