From b0d5cd7398e09c6b1e2becacaab196c5f2a91096 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 2 Oct 2012 13:26:42 +0000 Subject: Added clientdata.skinned option to turn off skins/templates --- app/acf_www-controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/acf_www-controller.lua') diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index d39ee31..5735efb 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -178,7 +178,7 @@ view_resolver = function(self) -- search for template local template - if self.conf.component ~= true then + if self.conf.component ~= true and self.clientdata.skinned ~= "false" then template = find_template ( self.conf.appdir, self.conf.prefix, self.conf.controller, self.conf.action, self.conf.viewtype ) end -- cgit v1.2.3