forked from blallo/rss-bridge
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');
|
date_default_timezone_set('UTC');
|
||||||
error_reporting(0);
|
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';
|
require_once __DIR__ . '/lib/RssBridge.php';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue