diff --git a/Bridge_API/BridgeAbstract.html b/Bridge_API/BridgeAbstract.html index 2142ba2c..7ea3ca33 100644 --- a/Bridge_API/BridgeAbstract.html +++ b/Bridge_API/BridgeAbstract.html @@ -100,7 +100,7 @@
Enabling debug mode on a public server may result in malicious clients retrieving sensitive data about your server and possibly gaining access to it. -Do not enable debug mode on a public server, unless you understand the implications of your doing!
-Debug mode enables error reporting and prevents loading data from the cache (data is still written to the cache).
-To enable debug mode, set in config.ini.php
:
enable_debug_mode = true
+ Debug mode has been removed.
+If you want to disable caching you can set cache type to array (in-memory cache):
+[cache]
+
+; Cache type: file, sqlite, memcached, array, null
+type = "array"
-Allow only explicit ip addresses:
-debug_mode_whitelist[] = 127.0.0.1
-debug_mode_whitelist[] = 192.168.1.10
+Alternatively, you can comment out the cache middleware in lib/RssBridge.php
:
+diff --git a/lib/RssBridge.php b/lib/RssBridge.php
+index d16f1d89..da3df8be 100644
+--- a/lib/RssBridge.php
++++ b/lib/RssBridge.php
+@@ -24,7 +24,7 @@ final class RssBridge
+
+ $middlewares = [
+ new BasicAuthMiddleware(),
+- new CacheMiddleware($this->container['cache']),
++ //new CacheMiddleware($this->container['cache']),
+ new ExceptionMiddleware($this->container['logger']),
+ new SecurityMiddleware(),
+ new MaintenanceMiddleware(),
-Notice:
-
-- An empty file enables debug mode for anyone!
-- The bridge whitelist still applies! (debug mode does not enable all bridges)
-
-RSS-Bridge will give you a visual feedback when debug mode is enabled.