summaryrefslogtreecommitdiffstats
path: root/system/application
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-10-09 15:25:27 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-10-09 15:25:27 +0200
commitbefdc87b1ce6caf47c6f8b1dfa02333dfee8a950 (patch)
tree58c9c2ecc2c9fdf394a2d1a6d727d3e4ff07a136 /system/application
parent6838f00a708f53f834fb8a98af560177db1d1454 (diff)
Added the ability to auto-load Models
Diffstat (limited to 'system/application')
-rw-r--r--system/application/config/autoload.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/application/config/autoload.php b/system/application/config/autoload.php
index 8bb4181b5..2dfbe422c 100644
--- a/system/application/config/autoload.php
+++ b/system/application/config/autoload.php
@@ -23,6 +23,7 @@
| 3. Plugins
| 4. Custom config files
| 5. Language files
+| 6. Models
|
*/
@@ -96,6 +97,20 @@ $autoload['config'] = array();
$autoload['language'] = array();
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Models
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['model'] = array('model1', 'model2');
+|
+*/
+
+$autoload['model'] = array();
+
+
/*
| -------------------------------------------------------------------
| Auto-load Core Libraries