Unify character encoding header code

This commit is contained in:
emanuele-f 2017-05-04 17:12:06 +02:00
parent 10be6c2190
commit 1c38df48c9
114 changed files with 127 additions and 119 deletions

View file

@ -25,7 +25,7 @@ local network_name = ntop.getNetworkNameById(tonumber(network))
local network_vlan = tonumber(_GET["vlan"])
if network_vlan == nil then network_vlan = 0 end
sendHTTPHeader('text/html; charset=iso-8859-1')
sendHTTPContentTypeHeader('text/html')
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")