Commit 1cc9f828 authored by Jean-Paul Smets's avatar Jean-Paul Smets

updated so that there is no errors with zope 2.6


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@550 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3ab9d0d8
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
try: try:
from App.config import getConfiguration from App.config import getConfiguration
except ImportError: except ImportError:
pass getConfiguration = None
fs_skin_ids = ('erp5_trade', 'erp5_accounting', 'erp5_crm') fs_skin_ids = ('erp5_trade', 'erp5_accounting', 'erp5_crm')
...@@ -19,8 +18,10 @@ fs_skin_spec = ('ERP5 Filesystem Formulator Form', ...@@ -19,8 +18,10 @@ fs_skin_spec = ('ERP5 Filesystem Formulator Form',
'Filesystem Page Template', 'Filesystem Page Template',
'Filesystem Script (Python)', 'Filesystem Script (Python)',
'Filesystem Z SQL Method') 'Filesystem Z SQL Method')
#fs_skin_dir = '/var/lib/zope/Products/ERP5/skins' if getConfiguration is None:
fs_skin_dir = getConfiguration().instancehome + '/Products/ERP5/skins' fs_skin_dir = '/var/lib/zope/Products/ERP5/skins'
else:
fs_skin_dir = getConfiguration().instancehome + '/Products/ERP5/skins'
zodb_skin_ids = ('local_trade', 'local_accounting', 'local_crm') zodb_skin_ids = ('local_trade', 'local_accounting', 'local_crm')
zodb_skin_spec = ('ERP5 Form', 'Page Template', 'Script', 'Script (Python)','Z SQL Method') zodb_skin_spec = ('ERP5 Form', 'Page Template', 'Script', 'Script (Python)','Z SQL Method')
......
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