<% local viewtable, viewlibrary, pageinfo, session = ... html=require("acf.html") %> 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 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 %> <%= html.html_escape(hostname .. " - " .. pageinfo.controller .. " -> " .. pageinfo.action) %> ">
<% pageinfo.viewfunc(viewtable, viewlibrary, pageinfo, session) %>