Commit 4629dc98 authored by Chris Withers's avatar Chris Withers

made Zope.configure return the starter instance to enable other methods to be...

made Zope.configure return the starter instance to enable other methods to be called, such as starter.setupConfiguredLoggers()
parent 6580745e
...@@ -26,6 +26,9 @@ Zope Changes ...@@ -26,6 +26,9 @@ Zope Changes
Features added Features added
- made Zope.configure return the starter instance to enable other
methods to be called, such as starter.setupConfiguredLoggers()
- Improved Unicode handling in Page Templates. Template contents - Improved Unicode handling in Page Templates. Template contents
and title will now be saved as a Unicode string if and title will now be saved as a Unicode string if
the management_page_charset variable can be acquired and is true. the management_page_charset variable can be acquired and is true.
......
...@@ -32,6 +32,7 @@ def configure(configfile): ...@@ -32,6 +32,7 @@ def configure(configfile):
starter.setConfiguration(opts.configroot) starter.setConfiguration(opts.configroot)
starter.setupSecurityOptions() starter.setupSecurityOptions()
starter.dropPrivileges() starter.dropPrivileges()
return starter
def _setconfig(configfile=None): def _setconfig(configfile=None):
""" Configure a Zope instance based on ZopeOptions. Optionally """ Configure a Zope instance based on ZopeOptions. Optionally
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment