mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 14:18:35 +01:00
[index] Define cache even in DEBUG mode
This commit is contained in:
parent
4b171f8f46
commit
978e5cdbf5
@ -116,12 +116,11 @@ try {
|
||||
die;
|
||||
}
|
||||
|
||||
$cache = Cache::create('FileCache');
|
||||
|
||||
// Data retrieval
|
||||
$bridge = Bridge::create($bridge);
|
||||
if(!defined("DEBUG"))
|
||||
$bridge->setCache($cache);
|
||||
|
||||
$cache = Cache::create('FileCache');
|
||||
$bridge->setCache($cache);
|
||||
|
||||
$noproxy = filter_input(INPUT_GET, '_noproxy', FILTER_VALIDATE_BOOLEAN);
|
||||
if(defined('PROXY_URL') && PROXY_BYBRIDGE && $noproxy){
|
||||
|
Loading…
x
Reference in New Issue
Block a user