|
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 |
|
25 | 5. Language files |
|
26 | 6. Models |
|
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('database', 'session'); |
|
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('url'); |
|
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 | ------------------------------------------------------------------- |
|
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 |
|
98 $autoload['language'] = array(); |
|
99 |
|
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 |
|
114 /* |
|
115 | ------------------------------------------------------------------- |
|
116 | Auto-load Core Libraries |
|
117 | ------------------------------------------------------------------- |
|
118 | |
|
119 | DEPRECATED: Use $autoload['libraries'] above instead. |
|
120 | |
|
121 */ |
|
122 // $autoload['core'] = array(); |
|
123 |
|
124 |
|
125 |
|
126 /* End of file autoload.php */ |
|
127 /* Location: ./system/application/config/autoload.php */ |