You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cms/index.py

321 lines
10 KiB
Python

2 years ago
__doc__ = """
arguments :
--config path of the configuration otherwise it will look for the default in the working directory
"""
# # return redirect(uri,200) #,{'content-type':'application/image'}
# # else:
# # return send_from_directory(_root, #_app.root_path, 'static/img'),
# _logo, mimetype='image/vnd.microsoft.icon')
2 years ago
2 years ago
code = 404
e = Environment(loader=BaseLoader()).from_string(_html)
_args['system'] = _handler.system(skip=['app','source'])