8 Mar
2005
8 Mar
'05
6:59 p.m.
Pascal Peregrina wrote at 2005-3-8 17:30 +0100:
Another product developpment problem ;)
I've got 2 kind of Zope instances : 1/ "RO Zopes": - / is a local FileStorage - /somefolder is a ZeoStorage mounted read-only 2/ "RW Zopes": - / is a local FileStorage - /somefolder is a ZeoStorage mounted read-write
I would like to know, inside a Zope product, how I can know if I am in a RO or RW Zope instance.
Tim Peters answered such a question recently. Search the mailing list archives ("zodb-dev", "zope-dev", "zope"), search for "isReadOnly". -- Dieter