summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-26 19:30:19 +0400
committerAndrew Dolgov <[email protected]>2013-02-26 19:30:19 +0400
commitbe17885789fdf35b40e040d80c50077652069dc1 (patch)
treeb3867f5505deccabd61bd75bd2acac64ebe7c9fc /include
parent70caff4811b1e443831e2f4e1e5a1445837fec18 (diff)
pluginhost: add get_debug()/set_debug() for plugins to detect if debugging is allowed
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php1
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);