1
0

Fixed WebAdmin template after moving the memory stats functions to cRoot.

This commit is contained in:
madmaxoft 2013-10-08 20:24:35 +02:00
parent a120507be0
commit bf9c520439

View File

@ -58,7 +58,7 @@ function ShowPage(WebAdmin, TemplateRequest)
SiteContent = {} SiteContent = {}
local BaseURL = WebAdmin:GetBaseURL(TemplateRequest.Request.Path) local BaseURL = WebAdmin:GetBaseURL(TemplateRequest.Request.Path)
local Title = "MCServer" local Title = "MCServer"
local MemoryUsageKiB = cWebAdmin:GetMemoryUsage() local MemoryUsageKiB = cRoot:GetPhysicalRAMUsage()
local NumChunks = cRoot:Get():GetTotalChunkCount() local NumChunks = cRoot:Get():GetTotalChunkCount()
local PluginPage = WebAdmin:GetPage(TemplateRequest.Request) local PluginPage = WebAdmin:GetPage(TemplateRequest.Request)
local PageContent = PluginPage.Content local PageContent = PluginPage.Content