|
|
@ -57,7 +57,7 @@ class IOConfig:
|
|
|
|
class Initialization (IOConfig):
|
|
|
|
class Initialization (IOConfig):
|
|
|
|
def __init__(self,**_args):
|
|
|
|
def __init__(self,**_args):
|
|
|
|
super().__init__(**_args)
|
|
|
|
super().__init__(**_args)
|
|
|
|
self._config = self.read_config(**_args)
|
|
|
|
# self._config = self.read_config(**_args)
|
|
|
|
self._args = _args
|
|
|
|
self._args = _args
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Invoke initialization
|
|
|
|
# Invoke initialization
|
|
|
@ -65,7 +65,7 @@ class Initialization (IOConfig):
|
|
|
|
|
|
|
|
|
|
|
|
def reload (self):
|
|
|
|
def reload (self):
|
|
|
|
_args = self._args
|
|
|
|
_args = self._args
|
|
|
|
|
|
|
|
self._config = self.read_config(**_args)
|
|
|
|
self._caller = _args['caller'] if 'caller' in _args else None
|
|
|
|
self._caller = _args['caller'] if 'caller' in _args else None
|
|
|
|
if (self._caller):
|
|
|
|
if (self._caller):
|
|
|
|
self._config['system']['parentContext'] = ''
|
|
|
|
self._config['system']['parentContext'] = ''
|
|
|
@ -233,7 +233,7 @@ class Initialization (IOConfig):
|
|
|
|
if _missing :
|
|
|
|
if _missing :
|
|
|
|
for _name in _missing :
|
|
|
|
for _name in _missing :
|
|
|
|
_menu[_name] = _menu[_name]
|
|
|
|
_menu[_name] = _menu[_name]
|
|
|
|
self.set('layout.menu',_menu)
|
|
|
|
self.set('layout.menu',_menu)
|
|
|
|
def routes (self,**_args):
|
|
|
|
def routes (self,**_args):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
This method will update menu with dependent sites/apps and add them to the menu
|
|
|
|
This method will update menu with dependent sites/apps and add them to the menu
|
|
|
|