change System mode into system

This commit is contained in:
gabryon99 2020-02-27 20:53:44 +01:00
parent 6efdb67350
commit a4074a73a4
2 changed files with 3 additions and 4 deletions

View file

@ -20,4 +20,5 @@ ntop.setPref("ntop.prefs.system_mode_enabled", system_interface_toggled)
print(json.encode({
["success"] = true,
["href"] = (system_interface_toggled == "1" and ntop.getHttpPrefix() .. "/lua/system_stats.lua" or "/");
}))