WebAdmin doesn't display correct content
#4
That's strange, I tried your exact code in the Debuggers plugin and it works for me.
function Initialize(a_Plugin)
	-- Other unrelated code
	cWebAdmin:AddWebTab("Example", "example1", function(a_Request, a_UrlPath)
		return "asd", "text/html; charset=utf-8"
	end)
	-- Other unrelated code
end

Are you sure you reloaded the plugin (or restarted the server) so that the code changes were applied? Could you post your entire plugin source so that we can have a look?
Reply
Thanks given by: Mcpg


Messages In This Thread
RE: WebAdmin doesn't display correct content - by xoft - 04-16-2017, 05:42 PM



Users browsing this thread: 2 Guest(s)