[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.625.2.176

Chris McDonough chrism at plope.com
Fri May 28 17:17:35 EDT 2004


Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv30900

Modified Files:
      Tag: Zope-2_7-branch
	CHANGES.txt 
Log Message:



=== Zope/doc/CHANGES.txt 1.625.2.175 => 1.625.2.176 ===
--- Zope/doc/CHANGES.txt:1.625.2.175	Fri May 28 09:51:42 2004
+++ Zope/doc/CHANGES.txt	Fri May 28 17:17:34 2004
@@ -19,6 +19,18 @@
 
     Features Added
 
+     - Collector #1233: Scripts written before the new configuration
+       behavior in Zope 2.7 used to be able to simply do "import Zope;
+       app = Zope.app()" to get a hold of the root Zope object.  With
+       the introduction of the new configuration machinery, an extra
+       step needed to be taken, so the equivalent becomes "import Zope;
+       Zope.configure('/path/to/configfile'); app=Zope.app()".
+       This feature "fixes" that by allowing an environment variable
+       "ZOPE_CONFIG" to be set.  If the ZOPE_CONFIG envvar is set,
+       the "Zope.configure(..)" line can be omitted, as the startup
+       process will take the vaule of ZOPE_CONFIG as the config file
+       name.
+
      - New top-level configuration file directive:
        'session-resolution-seconds'.  This represents an integer value
        specifying the number of seconds to be used as the "timeout resolution"




More information about the Zope-Checkins mailing list