From 8d8d4fa0c39da43df72ebecab66aa5ee4e99c9f6 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 19 Jan 2018 03:30:50 +0100 Subject: [PATCH] scripts/check_site_lib.lua: introduce in_site() and in_domain() helpers These helpers are no-ops for now, until the actual multi-domain support is added. --- scripts/check_site_lib.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/check_site_lib.lua b/scripts/check_site_lib.lua index 9e2bd135..669b1d11 100644 --- a/scripts/check_site_lib.lua +++ b/scripts/check_site_lib.lua @@ -1,3 +1,12 @@ +function in_site(var) + return var +end + +function in_domain(var) + return var +end + + local function loadvar(varname) local ok, val = pcall(assert(loadstring('return site.' .. varname))) if ok then