mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:55:55 +00:00
fix pluginhost created without dbh
This commit is contained in:
@@ -347,7 +347,7 @@
|
||||
}
|
||||
|
||||
if (isset($options["list-plugins"])) {
|
||||
$tmppluginhost = new PluginHost();
|
||||
$tmppluginhost = new PluginHost(Db::get());
|
||||
$tmppluginhost->load_all($tmppluginhost::KIND_ALL);
|
||||
$enabled = array_map("trim", explode(",", PLUGINS));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user