mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fixes flow_details.lua:18: module 'nf_config' not found
This commit is contained in:
parent
156f83eb1f
commit
4504f40fbf
1 changed files with 5 additions and 3 deletions
|
|
@ -14,8 +14,10 @@ if ntop.isPro() then
|
|||
package.path = dirs.installdir .. "/scripts/lua/pro/modules/?.lua;" .. package.path
|
||||
shaper_utils = require("shaper_utils")
|
||||
|
||||
package.path = dirs.installdir .. "/scripts/lua/pro/nedge/modules/?.lua;" .. package.path
|
||||
NfConfig = require("nf_config")
|
||||
if ntop.isnEdge() then
|
||||
package.path = dirs.installdir .. "/scripts/lua/pro/nedge/modules/?.lua;" .. package.path
|
||||
NfConfig = require("nf_config")
|
||||
end
|
||||
end
|
||||
|
||||
require "historical_utils"
|
||||
|
|
@ -311,7 +313,7 @@ else
|
|||
end
|
||||
|
||||
-- ENABLE MARKER DEBUG
|
||||
if false then
|
||||
if ntop.isnEdge() and false then
|
||||
print("<tr><th width=30%>"..i18n("flow_details.flow_marker").."</th>")
|
||||
print("<td colspan=2>".. NfConfig.formatMarker(flow["marker"]) .."</td>")
|
||||
print("</tr>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue