mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
This commit is contained in:
@@ -172,3 +172,10 @@ plugins.register(vim_hotkeys)
|
||||
# load external plugins
|
||||
if 'plugins' in settings:
|
||||
plugins.register(*settings['plugins'], external=True)
|
||||
|
||||
if 'enabled_plugins' in settings:
|
||||
for plugin in plugins:
|
||||
if plugin.name in settings['enabled_plugins']:
|
||||
plugin.default_on = True
|
||||
else:
|
||||
plugin.default_on = False
|
||||
|
||||
Reference in New Issue
Block a user