mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add source path, plugin and edition in user scripts
This commit is contained in:
parent
fbbec75c54
commit
15759c8db2
6 changed files with 110 additions and 25 deletions
|
|
@ -57,10 +57,10 @@ local function printUserScripts(title, scripts)
|
|||
end
|
||||
|
||||
-- Availability
|
||||
if(string.find(script.path, "/enterprise/")) then
|
||||
if(script.edition == "enterprise") then
|
||||
available = "Enterprise"
|
||||
if((edition ~= "") and (edition ~= "enterprise")) then goto skip end
|
||||
elseif(string.find(script.path, "/pro/")) then
|
||||
elseif(script.edition == "pro") then
|
||||
available = "Pro"
|
||||
if((edition ~= "") and (edition ~= "pro")) then goto skip end
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue