|
@@ -202,14 +202,15 @@ class CFG(object):
|
202
|
202
|
# ContentType.Folder -- Folder is skipped
|
203
|
203
|
]
|
204
|
204
|
|
205
|
|
- self.RADICALE_SERVER_HOST = '0.0.0.0'
|
206
|
|
- self.RADICALE_SERVER_PORT = 5232
|
|
205
|
+ self.RADICALE_SERVER_HOST = tg.config.get('radicale.server.host', '0.0.0.0')
|
|
206
|
+ self.RADICALE_SERVER_PORT = tg.config.get('radicale.server.port', 5232)
|
207
|
207
|
# Note: Other parameters needed to work in SSL (cert file, etc)
|
208
|
|
- self.RADICALE_SERVER_SSL = False
|
|
208
|
+ self.RADICALE_SERVER_SSL = asbool(tg.config.get('radicale.server.ssl', False))
|
209
|
209
|
|
210
|
|
- self.RADICALE_CLIENT_HOST = None # If None, current host will be used
|
211
|
|
- self.RADICALE_CLIENT_PORT = 5232
|
212
|
|
- self.RADICALE_CLIENT_SSL = False
|
|
210
|
+ # If None, current host will be used
|
|
211
|
+ self.RADICALE_CLIENT_HOST = tg.config.get('radicale.client.host', None)
|
|
212
|
+ self.RADICALE_CLIENT_PORT = tg.config.get('radicale.client.port', 5232)
|
|
213
|
+ self.RADICALE_CLIENT_SSL = asbool(tg.config.get('radicale.client.ssl', False))
|
213
|
214
|
|
214
|
215
|
|
215
|
216
|
def get_tracker_js_content(self, js_tracker_file_path = None):
|