[Zope-CVS] CVS: Packages/Moztop/moztopsupport/http - configure.zcml:1.4

Sidnei da Silva sidnei@x3ng.com.br
Sat, 29 Mar 2003 15:16:03 -0500


Update of /cvs-repository/Packages/Moztop/moztopsupport/http
In directory cvs.zope.org:/tmp/cvs-serv18014/http

Modified Files:
	configure.zcml 
Log Message:
Improved PROPFIND a bit by adding allprop. Registering a few other types for PUT, to make ev happy.

=== Packages/Moztop/moztopsupport/http/configure.zcml 1.3 => 1.4 ===
--- Packages/Moztop/moztopsupport/http/configure.zcml:1.3	Sat Mar 29 12:09:55 2003
+++ Packages/Moztop/moztopsupport/http/configure.zcml	Sat Mar 29 15:16:02 2003
@@ -41,4 +41,23 @@
   permission="zope.ManageContent"
   />
 
+<!-- It may look weird, but yes. FileFactory creates both File
+     and Image. Doh. -->
+
+<adapter 
+  for="zope.app.interfaces.content.folder.IFolder"
+  provides="zope.app.interfaces.file.IFileFactory"
+  name="File"
+  factory="zope.app.content.image.FileFactory"
+  permission="zope.ManageContent"
+  />
+
+<adapter 
+  for="zope.app.interfaces.content.folder.IFolder"
+  provides="zope.app.interfaces.file.IFileFactory"
+  name="Image"
+  factory="zope.app.content.image.FileFactory"
+  permission="zope.ManageContent"
+  />
+
 </zopeConfigure>