comparison twisted/plugins/libervia_server.py @ 1132:0cafb79ced6d

server: use site names in _moveFirstLevelToDict to better distinguish values for default site at first level + better handling of default menu
author Goffi <goffi@goffi.org>
date Tue, 18 Sep 2018 21:16:53 +0200
parents 6414fd795df4
children 4426c328eb83
comparison
equal deleted inserted replaced
1131:9cf592d1e6aa 1132:0cafb79ced6d
158 # Options which are in sat.conf only 158 # Options which are in sat.conf only
159 OPT_PARAMETERS_CFG = [ 159 OPT_PARAMETERS_CFG = [
160 ["empty_password_allowed_warning_dangerous_list", None, "", None], 160 ["empty_password_allowed_warning_dangerous_list", None, "", None],
161 ["vhosts_dict", None, {}, None], 161 ["vhosts_dict", None, {}, None],
162 ["url_redirections_dict", None, {}, None], 162 ["url_redirections_dict", None, {}, None],
163 ["menu_json", None, C.DEFAULT_MENU, None], 163 ["menu_json", None, {u'': C.DEFAULT_MENU}, None],
164 ["tickets_trackers_json", None, None, None], 164 ["tickets_trackers_json", None, None, None],
165 ["mr_handlers_json", None, None, None], 165 ["mr_handlers_json", None, None, None],
166 ] 166 ]
167 167
168 168