* split local cache implementation into a separate class

* allow custom implementations provided by plugins
This commit is contained in:
Andrew Dolgov
2022-11-23 21:18:40 +03:00
parent 30c04adfa6
commit 10a1dd35e3
5 changed files with 252 additions and 145 deletions

View File

@@ -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) {