mirror of
https://github.com/searxng/searxng.git
synced 2025-07-12 15:59:21 +02:00
This commit is contained in:
parent
830a2e5b93
commit
a05c660e30
2 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue