From be17885789fdf35b40e040d80c50077652069dc1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 26 Feb 2013 19:30:19 +0400 Subject: pluginhost: add get_debug()/set_debug() for plugins to detect if debugging is allowed --- include/rssfuncs.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/rssfuncs.php') 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); -- cgit v1.2.3