include("language.html")
if _SESSION["username"] ~= nil and _SESSION["currentpath"] ~= nil then
local enable_changepass, changepass_firstlogon = c_CanChangePass(_SESSION["username"])
local enable_sendmessage = c_CanSendMessage()
local enable_online_edit = c_CanOnlineEdit()
local weblink_url = c_GetWeblinkURL()
local http_keepalive = c_HttpKeepAlive()
local logo_image = c_GetDomainLogo()
local image_date = c_GetFileTime(c_GetAppPath().."/webclient/images/"..logo_image)
local license_type = c_GetLicenseInfo()
local redir = ""
if _GET["redir"] ~= nil then
redir = specialhtml_encode(string.sub(_GET['redir'], 1, 256))
end
print("")
else
gotoURL("login.html")
end
WingFTP Web Client