[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.625.2.151
Andreas Jung
andreas at andreas-jung.com
Fri May 14 08:01:08 EDT 2004
Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv19847/doc
Modified Files:
Tag: Zope-2_7-branch
CHANGES.txt
Log Message:
Collector #1233: applied patch introducing $ZOPE_CONFIG to avoid the
necessisty to call Zope.configure() since Zope 2.7.0
=== Zope/doc/CHANGES.txt 1.625.2.150 => 1.625.2.151 ===
--- Zope/doc/CHANGES.txt:1.625.2.150 Fri May 14 07:29:32 2004
+++ Zope/doc/CHANGES.txt Fri May 14 08:00:36 2004
@@ -81,6 +81,22 @@
- New zope.conf directive called rest-header-level with a default
value of 3. It's setting the initial header level for rest like
structured-text-header-level for stx.
+
+ - Collector #1233: Introducing a new environment variable ZOPE_CONFIG
+ has can be used to specify the location of the zope.conf file for
+ scripts importing the 'Zope' module directly. In earlier versions
+ it has been necessary to call Zope.configure explict.
+
+ Example::
+
+ export ZOPE_CONFIG=$INSTANCE_HOME/etc/zope.conf
+
+ From Python script:
+
+ import Zope
+ # Zope.configure('etc/zope.conf') <-- no longer needed
+ app = Zope.app()
+
Bugs Fixed
More information about the Zope-Checkins
mailing list