mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Implemented script viewer integration
This commit is contained in:
parent
912ab61ab1
commit
a0eff7ac59
4 changed files with 8 additions and 10 deletions
|
|
@ -13,7 +13,7 @@ local code_editor = {}
|
|||
function code_editor.editor(scriptname)
|
||||
|
||||
if(starts(scriptname, "/plugins/")) then
|
||||
lua_script_url = string.gsub(scriptname, "/plugins/", "scripts/plugins/")
|
||||
lua_script_url = string.gsub(scriptname, "/plugins/", "/plugins-src/")
|
||||
else
|
||||
lua_script_url = ""
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue