forked from blallo/rss-bridge
Allowed cache disabling to be performed on a per-query basis (very useful to add bridges to an existing and running installation of rss-bridge)
This commit is contained in:
parent
f2f82c7d03
commit
fda3e9886e
1 changed files with 5 additions and 3 deletions
|
@ -39,9 +39,11 @@ try{
|
||||||
|
|
||||||
// Data retrieval
|
// Data retrieval
|
||||||
$bridge = Bridge::create($bridge);
|
$bridge = Bridge::create($bridge);
|
||||||
$bridge
|
if(isset($_REQUEST["disable_cache"])) {
|
||||||
->setCache($cache) // Comment this lign for avoid cache use
|
} else {
|
||||||
->setDatas($_REQUEST);
|
$bridge->setCache($cache); // just add disable cache to your query to disable caching
|
||||||
|
}
|
||||||
|
$bridge->setDatas($_REQUEST);
|
||||||
|
|
||||||
// Data transformation
|
// Data transformation
|
||||||
$format = Format::create($format);
|
$format = Format::create($format);
|
||||||
|
|
Loading…
Reference in a new issue