Mercurial > libervia-web
comparison libervia/server/constants.py @ 1402:388558a30cf8
core (config): use component (i.e. "web") as config section
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 25 Mar 2021 10:29:40 +0100 |
parents | ed037818d6de |
children | 396d5606477f |
comparison
equal
deleted
inserted
replaced
1401:aada5471d6bc | 1402:388558a30cf8 |
---|---|
23 | 23 |
24 APP_NAME = "Libervia Web" | 24 APP_NAME = "Libervia Web" |
25 APP_COMPONENT = "web" | 25 APP_COMPONENT = "web" |
26 APP_NAME_ALT = APP_NAME | 26 APP_NAME_ALT = APP_NAME |
27 APP_NAME_FILE = "libervia_web" | 27 APP_NAME_FILE = "libervia_web" |
28 CONFIG_SECTION = APP_NAME_FILE.lower() | 28 CONFIG_SECTION = APP_COMPONENT.lower() |
29 SERVICE_PROFILE = "libervia" # the SàT profile that is used for exporting the service | 29 SERVICE_PROFILE = "libervia" # the SàT profile that is used for exporting the service |
30 | 30 |
31 SESSION_TIMEOUT = 7200 # Session's timeout, after that the user will be disconnected | 31 SESSION_TIMEOUT = 7200 # Session's timeout, after that the user will be disconnected |
32 HTML_DIR = "html/" | 32 HTML_DIR = "html/" |
33 THEMES_DIR = "themes/" | 33 THEMES_DIR = "themes/" |