diff options
author | Andrew Dolgov <[email protected]> | 2013-02-26 19:30:19 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-26 19:30:19 +0400 |
commit | be17885789fdf35b40e040d80c50077652069dc1 (patch) | |
tree | b3867f5505deccabd61bd75bd2acac64ebe7c9fc /include/rssfuncs.php | |
parent | 70caff4811b1e443831e2f4e1e5a1445837fec18 (diff) |
pluginhost: add get_debug()/set_debug() for plugins to detect if debugging is allowed
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index ba9e30b05..77dd3aae2 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -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); |