admin | b0dd10f | 2006-08-25 17:25:49 +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. In addition to core systems you can auto-load plugins, |
| 14 | | helper files, config files, and your own scripts. |
| 15 | | |
| 16 | | ------------------------------------------------------------------- |
| 17 | | Instructions |
| 18 | | ------------------------------------------------------------------- |
| 19 | | |
| 20 | | These are the things you can load automatically: |
| 21 | | |
| 22 | | 1. Core classes |
| 23 | | 2. Helper files |
| 24 | | 3. Plugins |
| 25 | | 4. Scripts |
| 26 | | 5. Custom config files |
| 27 | | |
| 28 | | Note: The items will be loaded in the order that they are defined |
| 29 | | |
| 30 | | Please read the user guide for more detailed information |
| 31 | */ |
| 32 | |
| 33 | /* |
| 34 | | ------------------------------------------------------------------- |
| 35 | | Auto-load Core Classes |
| 36 | | ------------------------------------------------------------------- |
| 37 | | Prototype: |
| 38 | | |
| 39 | | $autoload['core'] = array('database', 'session', 'xmlrpc'); |
| 40 | */ |
| 41 | |
admin | 7530d50 | 2006-09-02 02:50:23 +0000 | [diff] [blame] | 42 | $autoload['core'] = array(); |
admin | b0dd10f | 2006-08-25 17:25:49 +0000 | [diff] [blame] | 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 Scripts |
| 72 | | ------------------------------------------------------------------- |
| 73 | | The term "scripts" refers to you own PHP scripts that you've |
| 74 | | placed in the application/scripts/ folder |
| 75 | | |
| 76 | | Prototype: |
| 77 | | |
| 78 | | $autoload['script'] = array('my_script1', 'my_script2'); |
| 79 | */ |
| 80 | |
| 81 | $autoload['script'] = array(); |
| 82 | |
| 83 | |
| 84 | /* |
| 85 | | ------------------------------------------------------------------- |
| 86 | | Auto-load Config files |
| 87 | | ------------------------------------------------------------------- |
| 88 | | Prototype: |
| 89 | | |
| 90 | | $autoload['config'] = array('config1', 'config2'); |
| 91 | | |
| 92 | | NOTE: This item is intended for use ONLY if you have created custom |
| 93 | | config files. Otherwise, leave it blank. |
| 94 | | |
| 95 | */ |
| 96 | |
| 97 | $autoload['config'] = array(); |
| 98 | |
| 99 | |
| 100 | |
| 101 | ?> |