From 6e7adcee7ddeb5a993f244e1255beef3c81545df Mon Sep 17 00:00:00 2001 From: Kanti Date: Sat, 30 Aug 2014 16:46:41 +0200 Subject: [PATCH] Added Option to disable Cache. Debugging made easy. --- system/includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/includes/functions.php b/system/includes/functions.php index 082c3fb..4a4a58e 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1625,6 +1625,8 @@ EOF; // File cache function file_cache($request) { + + if(config('cache.off')) return; $c = str_replace('/', '#', str_replace('?', '~', $request)); $cachefile = 'cache/page/' . $c . '.cache';