summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-01-21 23:38:19 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-01-21 23:38:19 +0100
commit283b4a4a1d8246c180a5be75558aa88847a1d6c5 (patch)
treece96ec008ebf28d3c7a4432f58eebdcb8192d00a
parenta0f12dabc2aef2fd129967838b1294b860ddd6d3 (diff)
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 <bluewind@xinu.at>
-rw-r--r--application/config/example/database.php4
1 files changed, 0 insertions, 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' => '',