~openerp-dev/openobject-client-web/trunk-bug-1156592-priyanka

4454.32.1 by Tristan Hill
[IMP] add files for running web client under apache/modwsgi
1
import glob
2
import sys
3
import os
4
5
sys.path.insert(0, os.path.dirname(__file__))
6
7
from cherrypy._cpconfig import as_dict
8
import openobject
9
10
conf = as_dict(os.path.join(os.path.dirname(__file__), 'doc', 'openerp-web.cfg'))
11
openobject.configure(conf)
12
openobject.enable_static_paths() # serve static file via the wsgi server
13
14
application = openobject.application
15
16
4688.1.1 by Numerigraphe - Lionel Sausin
[IMP] Added missing vim mode lines
17
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
18