diff options
author | Steven Barth <steven@midlink.org> | 2008-05-17 08:55:23 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-17 08:55:23 +0000 |
commit | 357ba22175225ca40cfcffd1f61cc4621ff13dbe (patch) | |
tree | 9ad02ebce522ef03ddb788b29a9a26b514c9fbd0 /core/src/template.lua | |
parent | bc253802f4dbb58aef372e4a815db4cb5d54d73d (diff) |
Added global imagepath
Diffstat (limited to 'core/src/template.lua')
-rw-r--r-- | core/src/template.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/template.lua b/core/src/template.lua index 134e0a6a01..e74db7d64f 100644 --- a/core/src/template.lua +++ b/core/src/template.lua @@ -54,6 +54,7 @@ viewns = { config = function(...) return require("ffluci.model.uci").get(...) or "" end, controller = ffluci.http.env.SCRIPT_NAME or "", media = ffluci.config.main.mediaurlbase, + images = ffluci.config.main.imagebase, write = io.write, include = function(name) Template(name):render(getfenv(2)) end, } |