rss-bridge/lib
logmanoriginal a0490e3673 core: Add Debug::isEnabled() and Debug::isSecure()
Also adds documentation to Debug.php!

* Debug::isEnabled()

Checks if the DEBUG file exists on disk on the first call (stored in
memory for the duration of the instance). Returns true if debug mode
is enabled for the client.

This function also sets the internal flag for Debug::isSecure()!

* Debug::isSecure()

Returns true if debuging is enabled for specific IP addresses, false
otherwise. This is checked on the first call of Debug::isEnabled().
If you call this function before Debug::isEnabled(), the default value
is false.
2018-11-10 20:50:34 +01:00
..
Authentication.php core: Set code in header() instead of calling http_response_code() 2018-11-05 19:29:01 +01:00
Bridge.php [RssBridge] Include interfaces once 2018-11-06 19:23:32 +01:00
BridgeAbstract.php [RssBridge] Include interfaces once 2018-11-06 19:23:32 +01:00
BridgeCard.php [BridgeCard] Fix checkbox default value (#874) 2018-10-20 13:14:46 +02:00
BridgeInterface.php Return exceptions in requested feed formats (#841) 2018-10-15 17:21:43 +02:00
BridgeList.php core: Add Debug::isEnabled() and Debug::isSecure() 2018-11-10 20:50:34 +01:00
Cache.php [RssBridge] Include interfaces once 2018-11-06 19:23:32 +01:00
CacheInterface.php [cache] Specify cache duration for 'purgeCache' 2016-10-08 16:18:10 +02:00
Configuration.php core: Define path to whitelist.txt in rssbridge.php 2018-11-10 19:51:37 +01:00
contents.php core: Add Debug::isEnabled() and Debug::isSecure() 2018-11-10 20:50:34 +01:00
Debug.php core: Add Debug::isEnabled() and Debug::isSecure() 2018-11-10 20:50:34 +01:00
error.php core: Add separate Debug class 2018-11-10 20:03:05 +01:00
Exceptions.php core: Use REPOSITORY constant where applicable 2018-11-05 19:05:59 +01:00
FeedExpander.php core: Add separate Debug class 2018-11-10 20:03:05 +01:00
Format.php [RssBridge] Include interfaces once 2018-11-06 19:23:32 +01:00
FormatAbstract.php [RssBridge] Include interfaces once 2018-11-06 19:23:32 +01:00
FormatInterface.php [FormatInterface] Add missing public functions 2016-11-09 18:41:24 +01:00
html.php phpcs: Fix violations 2018-11-05 12:55:58 +01:00
ParameterValidator.php [ParameterValidator] Move 'getQueriedContext' from BridgeAbstract 2018-09-22 17:04:55 +02:00
rssbridge.php core: Add Debug::isEnabled() and Debug::isSecure() 2018-11-10 20:50:34 +01:00