From befdc87b1ce6caf47c6f8b1dfa02333dfee8a950 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 9 Oct 2007 13:25:27 +0000 Subject: Added the ability to auto-load Models --- system/application/config/autoload.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'system/application/config') 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 -- cgit v1.2.3-24-g4f1b