Mercurial > libervia-web
comparison src/server/constants.py @ 470:34ce41e014c4
server side: options managing improvments:
- cleaned a bit the code / comments
- i18n
- added Libervia.OPT_PARAMETERS_CFG and moved Libervia.OPT_PARAMETERS to Libervia.OPT_PARAMETERS_BOTH, to allow options to be only in sat.conf
- use of new constant ASCII_APP_NAME for tap name
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 10 Jun 2014 15:38:47 +0200 |
parents | 981ed669d3b3 |
children | 0bbbef1d53a8 |
comparison
equal
deleted
inserted
replaced
469:305044acb6f0 | 470:34ce41e014c4 |
---|---|
21 | 21 |
22 | 22 |
23 class Const(constants.Const): | 23 class Const(constants.Const): |
24 | 24 |
25 APP_NAME = 'Libervia' | 25 APP_NAME = 'Libervia' |
26 ASCII_APP_NAME = "libervia" | |
26 SERVICE_PROFILE = 'libervia' # the SàT profile that is used for exporting the service | 27 SERVICE_PROFILE = 'libervia' # the SàT profile that is used for exporting the service |
27 | 28 |
28 TIMEOUT = 300 # Session's time out, after that the user will be disconnected | 29 TIMEOUT = 300 # Session's time out, after that the user will be disconnected |
29 HTML_DIR = "html/" | 30 HTML_DIR = "html/" |
30 SERVER_CSS_DIR = "server_css/" | 31 SERVER_CSS_DIR = "server_css/" |