summaryrefslogtreecommitdiffstats
path: root/module/web/webinterface.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r--module/web/webinterface.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py
index d06ba0234..1bff21dbc 100644
--- a/module/web/webinterface.py
+++ b/module/web/webinterface.py
@@ -58,6 +58,7 @@ from module.common.JsEngine import JsEngine
JS = JsEngine()
TEMPLATE = config.get('webinterface', 'template')
+TEMPLATE_MOBILE = config.get('webinterface', 'template_mobile')
DL_ROOT = config.get('general', 'download_folder')
LOG_ROOT = config.get('log', 'log_folder')
PREFIX = config.get('webinterface', 'prefix')
@@ -77,6 +78,7 @@ if not exists(cache):
bcc = FileSystemBytecodeCache(cache, '%s.cache')
loader = PrefixLoader({
"default": FileSystemLoader(join(PROJECT_DIR, "templates", "default")),
+ "default_mobile": FileSystemLoader(join(PROJECT_DIR, "templates", "default_mobile")),
'js': FileSystemLoader(join(PROJECT_DIR, 'media', 'js'))
})