summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-10-02 13:26:42 +0000
committerTed Trask <ttrask01@yahoo.com>2012-10-02 13:26:42 +0000
commitb0d5cd7398e09c6b1e2becacaab196c5f2a91096 (patch)
treeca8b44f333cc414a9f5b744fcf7a582c9501720a
parent00e08c7f4d235af9e9c052be277ea52113a346a7 (diff)
downloadacf-core-b0d5cd7398e09c6b1e2becacaab196c5f2a91096.tar.bz2
acf-core-b0d5cd7398e09c6b1e2becacaab196c5f2a91096.tar.xz
Added clientdata.skinned option to turn off skins/templates
-rw-r--r--app/acf_www-controller.lua2
1 files changed, 1 insertions, 1 deletions
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