summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-01-12 03:19:19 +0100
committerAndrey Andreev <narf@bofh.bg>2013-01-12 03:19:19 +0100
commit5a519db2c4884a3972dd33e09d0b3a314aa222e2 (patch)
treee693c7dfcfb0201df17a5c0df4161253bb2ad07d /application/config
parent78fa58a66f4e0d31043f0d3d8a64088fb8900361 (diff)
Implement autoload model aliasing (#2117)
Diffstat (limited to 'application/config')
-rw-r--r--application/config/autoload.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/application/config/autoload.php b/application/config/autoload.php
index 40f0a6520..5a20c943a 100644
--- a/application/config/autoload.php
+++ b/application/config/autoload.php
@@ -148,12 +148,16 @@ $autoload['language'] = array();
| -------------------------------------------------------------------
| Prototype:
|
-| $autoload['model'] = array('model1', 'model2');
+| $autoload['model'] = array('first_model', 'second_model');
|
+| You can also supply an alternative model name to be assigned
+| in the controller:
+|
+| $autoload['model'] = array('first_model' => 'first');
*/
$autoload['model'] = array();
/* End of file autoload.php */
-/* Location: ./application/config/autoload.php */
+/* Location: ./application/config/autoload.php */ \ No newline at end of file