summaryrefslogtreecommitdiffstats
path: root/application/config/config.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-08-15 17:10:58 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-08-15 17:12:21 +0200
commit7f0065ddbd80fe32e49cede2d65d231c6ec6f183 (patch)
tree3291f894b163cd75729c15d08be82e9d6d7c4258 /application/config/config.php
parent92c84158677f30edb8872754d92832a35420952d (diff)
Switch to CI's caching class
This supports more caching backends and doesn't force users to install the memcache extension. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 3ff8b816b..dda82de97 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -380,6 +380,13 @@ $config['actions_max_age'] = 60*60*24*5; // 5 days
// won't be deleted
$config['small_upload_size'] = 1024*10; // 10KB
+// possible values:
+// - apc: needs the apc module and is only useful on long running php processes
+// - file: you will have to clean up the cache directory yourself (application/cache/)
+// - memcached: config in application/config/memcached.php; you need the memcached module (with the D)
+// - dummy: disables caching
+$config['cache_backend'] = "dummy";
+
// for possible drivers look into ./application/libraries/Duser/drivers/
$config['authentication_driver'] = 'db';