Commit 184550e7 authored by Tres Seaver's avatar Tres Seaver

Add more BBB aliases; CMF now works.

parent deb8d43f
......@@ -67,6 +67,7 @@ def stuff_Globals():
from App.class_init import ApplicationDefaultPermissions
Globals.InitializeClass = default__class_init__
Globals.ApplicationDefaultPermissions = ApplicationDefaultPermissions
from App.special_dtml import HTML
from App.special_dtml import HTMLFile
......@@ -81,6 +82,12 @@ def stuff_Globals():
from App.ImageFile import ImageFile
Globals.ImageFile = ImageFile
# More BBB indirections
import OFS.ObjectManager
OFS.ObjectManager.UNIQUE = Globals.UNIQUE
OFS.ObjectManager.REPLACEABLE = Globals.REPLACEABLE
OFS.ObjectManager.NOT_REPLACEABLE = Globals.NOT_REPLACEABLE
def startup():
from App.PersistentExtra import patchPersistent
......
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