From 283b4a4a1d8246c180a5be75558aa88847a1d6c5 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 21 Jan 2018 23:38:19 +0100 Subject: Remove database cache config from example These settings do not work because the cache is never invalidated in the application. Signed-off-by: Florian Pritz --- application/config/example/database.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/application/config/example/database.php b/application/config/example/database.php index 33d4ead3e..54a0ee91f 100644 --- a/application/config/example/database.php +++ b/application/config/example/database.php @@ -27,8 +27,6 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | to the table name when using the Query Builder class | ['pconnect'] TRUE/FALSE - Whether to use a persistent connection | ['db_debug'] TRUE/FALSE - Whether database errors should be displayed. -| ['cache_on'] TRUE/FALSE - Enables/disables query caching -| ['cachedir'] The path to the folder where cache files should be stored | ['char_set'] The character set used in communicating with the database | ['dbcollat'] The character collation used in communicating with the database | NOTE: For MySQL and MySQLi databases, this setting is only used @@ -84,8 +82,6 @@ $db['default'] = array( 'dbprefix' => '', 'pconnect' => FALSE, 'db_debug' => TRUE, - 'cache_on' => FALSE, - 'cachedir' => '', 'char_set' => 'utf8mb4', // if you use postgres, set this to utf8 'dbcollat' => 'utf8mb4_bin', // if you use postgres, set this to utf8_bin 'swap_pre' => '', -- cgit v1.2.3-24-g4f1b