mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
Added an URL option to activate debug : debug activates all messages, and disables the cache.
This commit is contained in:
parent
084eb4c9f4
commit
3e8a7624e1
1 changed files with 8 additions and 1 deletions
|
@ -14,7 +14,14 @@ TODO :
|
|||
|
||||
date_default_timezone_set('UTC');
|
||||
error_reporting(0);
|
||||
//ini_set('display_errors','1'); error_reporting(E_ALL); // For debugging only.
|
||||
|
||||
if(isset($_REQUEST['debug'])) {
|
||||
|
||||
ini_set('display_errors','1'); error_reporting(E_ALL); //Report all errors
|
||||
|
||||
$_REQUEST["disable_cache"] = true; //Disable the cache.
|
||||
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/lib/RssBridge.php';
|
||||
|
||||
|
|
Loading…
Reference in a new issue