<% local viewtable, viewlibrary, pageinfo, session = ... html=require("acf.html") posix=require("posix") %> Status: 200 OK Content-Type: text/html <% if (session.id) then io.write( html.cookie.set("sessionid", session.id) ) else io.write (html.cookie.unset("sessionid")) end %> <% local hostname = "" if pageinfo.skinned ~= "false" and viewlibrary and viewlibrary.dispatch_component then local result = viewlibrary.dispatch_component("alpine-baselayout/hostname/read", nil, true) if result and result.value then hostname = result.value end end %> <% if pageinfo.skinned ~= "false" then %> <%= html.html_escape(hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action) %> "> <% end -- pageinfo.skinned %> <% if pageinfo.skinned ~= "false" then %>
<% end --pageinfo.skinned %> <% pageinfo.viewfunc(viewtable, viewlibrary, pageinfo, session) %> <% if pageinfo.skinned ~= "false" then %>
<% end --pageinfo.skinned %>