mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19: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
|
|
@ -13,7 +13,7 @@ local code_editor = {}
|
|||
function code_editor.editor(scriptname)
|
||||
|
||||
if(starts(scriptname, "/plugins/")) then
|
||||
lua_script_url = string.gsub(scriptname, "/plugins/", "/plugins-src/")
|
||||
lua_script_url = string.gsub(scriptname, "/plugins/", "scripts/plugins/")
|
||||
else
|
||||
lua_script_url = ""
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue