Last change
on this file since 2284 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
544 bytes
|
Line | |
---|
1 | from Products.CMFCore.DirectoryView import registerDirectory |
---|
2 | from Products.CMFCore.utils import ToolInit |
---|
3 | from AccessControl import allow_module |
---|
4 | import config |
---|
5 | import CaptchaTool |
---|
6 | |
---|
7 | allow_module('Products.qPloneCaptchas.utils') |
---|
8 | allow_module('Products.qPloneCaptchas.config') |
---|
9 | registerDirectory('skins', config.GLOBALS) |
---|
10 | |
---|
11 | tools = (CaptchaTool.CaptchaTool, ) |
---|
12 | def initialize(context): |
---|
13 | ToolInit(meta_type="CaptchaTool", |
---|
14 | tools=tools, |
---|
15 | product_name=config.PRODUCT_NAME, |
---|
16 | icon=config.TOOL_ICON,).initialize(context) |
---|
Note: See
TracBrowser
for help on using the repository browser.