From 10a1dd35e3188674db61cce3a2cc64fd5fa1f596 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Nov 2022 21:18:40 +0300 Subject: * split local cache implementation into a separate class * allow custom implementations provided by plugins --- classes/pluginhost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/pluginhost.php') diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 4b85bc216..1159e8ed1 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -454,7 +454,7 @@ class PluginHost { // WIP hack // we can't catch incompatible method signatures via Throwable // this also enables global tt-rss safe mode in case there are more plugins like this - if (($_SESSION["plugin_blacklist"][$class] ?? 0)) { + if (!getenv('TTRSS_XDEBUG_ENABLED') && ($_SESSION["plugin_blacklist"][$class] ?? 0)) { // only report once per-plugin per-session if ($_SESSION["plugin_blacklist"][$class] < 2) { -- cgit v1.2.3