##// END OF EJS Templates
core: change from homebrew plugin system into pyramid machinery....
core: change from homebrew plugin system into pyramid machinery. - it's faster to load - homebrew system was never used as intended - it's cleaner CE/EE code this way

File last commit:

r2351:59272121 default
r3240:b74ad312 default
Show More
plugins_base.mako
8 lines | 248 B | application/x-mako | MakoHtmlLexer
% for plugin, config in getattr(request.registry, 'rhodecode_plugins', {}).items():
<% tmpl = config['template_hooks'].get('plugin_init_template') %>
% if tmpl:
<%include file="${tmpl}" args="config=config"/>
% endif
% endfor