[index] Define cache even in DEBUG mode
This commit is contained in:
parent
4b171f8f46
commit
978e5cdbf5
1 changed files with 3 additions and 4 deletions
|
@ -116,11 +116,10 @@ try {
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
$cache = Cache::create('FileCache');
|
|
||||||
|
|
||||||
// Data retrieval
|
// Data retrieval
|
||||||
$bridge = Bridge::create($bridge);
|
$bridge = Bridge::create($bridge);
|
||||||
if(!defined("DEBUG"))
|
|
||||||
|
$cache = Cache::create('FileCache');
|
||||||
$bridge->setCache($cache);
|
$bridge->setCache($cache);
|
||||||
|
|
||||||
$noproxy = filter_input(INPUT_GET, '_noproxy', FILTER_VALIDATE_BOOLEAN);
|
$noproxy = filter_input(INPUT_GET, '_noproxy', FILTER_VALIDATE_BOOLEAN);
|
||||||
|
|
Loading…
Reference in a new issue