mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix script checks missing in loadModule and isSystemScriptEnabled
This commit is contained in:
parent
aea228e376
commit
6f68c77967
2 changed files with 114 additions and 92 deletions
|
|
@ -429,6 +429,7 @@ function plugins_utils.loadPlugins(community_plugins_only)
|
|||
|
||||
-- Remove previously loaded plugins
|
||||
ntop.rmdir(plugins_utils.PLUGINS_RUNTIME_PATH)
|
||||
deleteCachePattern("ntonpng.cache.user_scripts.available_system_modules.*")
|
||||
|
||||
-- Note: load these only after cleaning the old plugins, to avoid
|
||||
-- errors due to ntopng version change (e.g. after adding the --community switch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue