summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/acf_www-controller.lua3
-rw-r--r--app/template-html.lsp3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua
index 5f30124..60c4ad4 100644
--- a/app/acf_www-controller.lua
+++ b/app/acf_www-controller.lua
@@ -160,7 +160,8 @@ view_resolver = function(self)
action = self.conf.action,
hostname = h.hostname.value,
prefix = self.conf.prefix,
- script = self.conf.appuri
+ script = self.conf.appuri,
+ skin = self.conf.skin
}
-- Build the menu table
diff --git a/app/template-html.lsp b/app/template-html.lsp
index de19458..59a68f0 100644
--- a/app/template-html.lsp
+++ b/app/template-html.lsp
@@ -14,7 +14,8 @@ Content-Type: text/html
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><?= pageinfo.hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action ?></title>
-<link rel="stylesheet" type="text/css" href="/static/webconf.css">
+<link rel="stylesheet" type="text/css"
+ href=<?= "/"..pageinfo.skin.."/"..pageinfo.skin..".css" ?> ">
</head>
<body>