summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-11-23 21:18:40 +0300
committerAndrew Dolgov <[email protected]>2022-11-23 21:18:40 +0300
commit10a1dd35e3188674db61cce3a2cc64fd5fa1f596 (patch)
tree27b05853ce1c5562ffb4f028aaf0e7abb9a758bd /classes/pluginhost.php
parent30c04adfa661f935f54d3c384bd565319081eb64 (diff)
* split local cache implementation into a separate class
* allow custom implementations provided by plugins
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-xclasses/pluginhost.php2
1 files changed, 1 insertions, 1 deletions
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) {