bug fix: plugin poorly handled

release CMS-0.1
Steve Nyemba 2 years ago
parent 5e00e3769a
commit b828a0a946

@ -28,7 +28,9 @@ def favicon():
@_app.route("/") @_app.route("/")
def _index (): def _index ():
global _config global _config
_args = {'system':_config['system'],'routes':_config['plugins']} _args = {'system':_config['system']}
if 'plugins' in _config :
_args['routes']=_config['plugins']
try: try:
_args['layout'] = _config['layout'] _args['layout'] = _config['layout']

Loading…
Cancel
Save