20 lines
319 B
Python
20 lines
319 B
Python
|
import coremod.exceptions
|
||
|
|
||
|
from webmanager import WebManager
|
||
|
from browser import TreeBrowser
|
||
|
|
||
|
_hserver = None
|
||
|
|
||
|
def init(hserver):
|
||
|
_hserver = hserver
|
||
|
|
||
|
root = hserver.getRoot()
|
||
|
manager = WebManager( hserver )
|
||
|
|
||
|
root.setChild( "manage", manager)
|
||
|
root.setDefault("manage")
|
||
|
|
||
|
root.setChild("_browse", TreeBrowser())
|
||
|
|
||
|
|