Derek Allard | 3d378b1 | 2007-05-08 23:03:59 +0000 | [diff] [blame] | 1 | <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
| 2 | /*
|
| 3 | | -------------------------------------------------------------------
|
| 4 | | AUTO-LOADER
|
| 5 | | -------------------------------------------------------------------
|
| 6 | | This file specifies which systems should be loaded by default.
|
| 7 | |
|
| 8 | | In order to keep the framework as light-weight as possible only the
|
| 9 | | absolute minimal resources are loaded by default. For example,
|
| 10 | | the database is not connected to automatically since no assumption
|
| 11 | | is made regarding whether you intend to use it. This file lets
|
| 12 | | you globally define which systems you would like loaded with every
|
| 13 | | request.
|
| 14 | |
|
| 15 | | -------------------------------------------------------------------
|
| 16 | | Instructions
|
| 17 | | -------------------------------------------------------------------
|
| 18 | |
|
| 19 | | These are the things you can load automatically:
|
| 20 | |
|
| 21 | | 1. Libraries
|
| 22 | | 2. Helper files
|
| 23 | | 3. Plugins
|
| 24 | | 4. Custom config files
|
Derek Allard | 593712b | 2007-07-12 20:01:19 +0000 | [diff] [blame] | 25 | | 5. Language files
|
Derek Allard | befdc87 | 2007-10-09 13:25:27 +0000 | [diff] [blame^] | 26 | | 6. Models
|
Derek Allard | 3d378b1 | 2007-05-08 23:03:59 +0000 | [diff] [blame] | 27 | |
|
| 28 | */
|
| 29 |
|
| 30 | /*
|
| 31 | | -------------------------------------------------------------------
|
| 32 | | Auto-load Libraries
|
| 33 | | -------------------------------------------------------------------
|
| 34 | | These are the classes located in the system/libraries folder
|
| 35 | | or in your system/application/libraries folder.
|
| 36 | |
|
| 37 | | Prototype:
|
| 38 | |
|
| 39 | | $autoload['libraries'] = array('database', 'session', 'xmlrpc');
|
| 40 | */
|
| 41 |
|
| 42 | $autoload['libraries'] = array();
|
| 43 |
|
| 44 |
|
| 45 | /*
|
| 46 | | -------------------------------------------------------------------
|
| 47 | | Auto-load Helper Files
|
| 48 | | -------------------------------------------------------------------
|
| 49 | | Prototype:
|
| 50 | |
|
| 51 | | $autoload['helper'] = array('url', 'file');
|
| 52 | */
|
| 53 |
|
| 54 | $autoload['helper'] = array();
|
| 55 |
|
| 56 |
|
| 57 | /*
|
| 58 | | -------------------------------------------------------------------
|
| 59 | | Auto-load Plugins
|
| 60 | | -------------------------------------------------------------------
|
| 61 | | Prototype:
|
| 62 | |
|
| 63 | | $autoload['plugin'] = array('captcha', 'js_calendar');
|
| 64 | */
|
| 65 |
|
| 66 | $autoload['plugin'] = array();
|
| 67 |
|
| 68 |
|
| 69 | /*
|
| 70 | | -------------------------------------------------------------------
|
| 71 | | Auto-load Config files
|
| 72 | | -------------------------------------------------------------------
|
| 73 | | Prototype:
|
| 74 | |
|
| 75 | | $autoload['config'] = array('config1', 'config2');
|
| 76 | |
|
| 77 | | NOTE: This item is intended for use ONLY if you have created custom
|
| 78 | | config files. Otherwise, leave it blank.
|
| 79 | |
|
| 80 | */
|
| 81 |
|
| 82 | $autoload['config'] = array();
|
| 83 |
|
| 84 |
|
| 85 | /*
|
| 86 | | -------------------------------------------------------------------
|
Derek Allard | c9e2b10 | 2007-07-12 12:14:45 +0000 | [diff] [blame] | 87 | | Auto-load Language files
|
| 88 | | -------------------------------------------------------------------
|
| 89 | | Prototype:
|
| 90 | |
|
| 91 | | $autoload['language'] = array('lang1', 'lang2');
|
| 92 | |
|
| 93 | | NOTE: Do not include the "_lang" part of your file. For example
|
| 94 | | "codeigniter_lang.php" would be referenced as array('codeigniter');
|
| 95 | |
|
| 96 | */
|
| 97 |
|
Derek Jones | 3f2fc0d | 2007-07-12 13:38:18 +0000 | [diff] [blame] | 98 | $autoload['language'] = array();
|
Derek Allard | c9e2b10 | 2007-07-12 12:14:45 +0000 | [diff] [blame] | 99 |
|
Derek Allard | befdc87 | 2007-10-09 13:25:27 +0000 | [diff] [blame^] | 100 |
|
| 101 | /*
|
| 102 | | -------------------------------------------------------------------
|
| 103 | | Auto-load Models
|
| 104 | | -------------------------------------------------------------------
|
| 105 | | Prototype:
|
| 106 | |
|
| 107 | | $autoload['model'] = array('model1', 'model2');
|
| 108 | |
|
| 109 | */
|
| 110 |
|
| 111 | $autoload['model'] = array();
|
| 112 |
|
| 113 |
|
Derek Allard | c9e2b10 | 2007-07-12 12:14:45 +0000 | [diff] [blame] | 114 | /*
|
| 115 | | -------------------------------------------------------------------
|
Derek Allard | 3d378b1 | 2007-05-08 23:03:59 +0000 | [diff] [blame] | 116 | | Auto-load Core Libraries
|
| 117 | | -------------------------------------------------------------------
|
| 118 | |
|
| 119 | | DEPRECATED: Use $autoload['libraries'] above instead.
|
| 120 | |
|
| 121 | */
|
| 122 | // $autoload['core'] = array();
|
| 123 |
|
| 124 |
|
admin | b0dd10f | 2006-08-25 17:25:49 +0000 | [diff] [blame] | 125 | ?> |