summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorKristian Matthews <kristian.matthews@me.com>2016-02-11 22:23:30 +0100
committerKristian Matthews <kristian.matthews@me.com>2016-02-11 22:23:30 +0100
commit46adb9fdbc9604065dc7990bc61707446aa5cc81 (patch)
tree3c6ff25dcd757ff21cb8b1a1bacf986968a03244 /application
parent3c6ace766c449e0a260587896e25d9971de6d812 (diff)
Autoload Driver Object Names
Updated documentation for `$autoload['drivers']`. Updated loader to autoload drivers with object names the same as autoloading libraries. Signed-off-by: Kristian Matthews <kristian.matthews@me.com>
Diffstat (limited to 'application')
-rw-r--r--application/config/autoload.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/config/autoload.php b/application/config/autoload.php
index 4bc6bf0ad..aeacbdb66 100644
--- a/application/config/autoload.php
+++ b/application/config/autoload.php
@@ -72,6 +72,11 @@ $autoload['libraries'] = array();
| Prototype:
|
| $autoload['drivers'] = array('cache');
+|
+| You can also supply an alternative library name to be assigned in
+| the controller:
+|
+| $autoload['drivers'] = array('cache' => 'cch');
*/
$autoload['drivers'] = array();