mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 07:05:56 +00:00
pluginhost: add get_debug()/set_debug() for plugins to detect if debugging is allowed
This commit is contained in:
@@ -274,6 +274,7 @@
|
||||
}
|
||||
|
||||
$pluginhost = new PluginHost($link);
|
||||
$pluginhost->set_debug($debug_enabled);
|
||||
$user_plugins = get_pref($link, "_ENABLED_PLUGINS", $owner_uid);
|
||||
|
||||
$pluginhost->load(PLUGINS, $pluginhost::KIND_ALL);
|
||||
|
||||
Reference in New Issue
Block a user