From 0a86d572c237acdede3949b01842ee96227ecea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Tue, 23 Aug 2016 14:41:41 +0200 Subject: [PATCH] [core] simplify cache related code and remove misleading comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 8e06925c..99342025 100644 --- a/index.php +++ b/index.php @@ -109,9 +109,8 @@ try{ // Data retrieval $bridge = Bridge::create($bridge); - if(defined("DEBUG")) { - } else { - $bridge->setCache($cache); // just add disable cache to your query to disable caching + if(!defined("DEBUG")) { + $bridge->setCache($cache); } $noproxy=filter_input(INPUT_GET,'_noproxy');