Subversion-Projekte lars-tiefland.ci

Revision

Revision 811 | Revision 852 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
755 lars 1
<?php
2
 
3
defined('BASEPATH') or exit('No direct script access allowed');
4
 
5
/*
6
| -------------------------------------------------------------------
7
| AUTO-LOADER
8
| -------------------------------------------------------------------
9
| This file specifies which systems should be loaded by default.
10
|
11
| In order to keep the framework as light-weight as possible only the
12
| absolute minimal resources are loaded by default. For example,
13
| the database is not connected to automatically since no assumption
14
| is made regarding whether you intend to use it.  This file lets
15
| you globally define which systems you would like loaded with every
16
| request.
17
|
18
| -------------------------------------------------------------------
19
| Instructions
20
| -------------------------------------------------------------------
21
|
22
| These are the things you can load automatically:
23
|
24
| 1. Packages
25
| 2. Libraries
26
| 3. Drivers
27
| 4. Helper files
28
| 5. Custom config files
29
| 6. Language files
30
| 7. Models
31
|
32
*/
33
 
34
/*
35
| -------------------------------------------------------------------
36
|  Auto-load Packages
37
| -------------------------------------------------------------------
38
| Prototype:
39
|
40
|  $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
41
|
42
*/
43
$autoload['packages'] = array();
44
 
45
/*
46
| -------------------------------------------------------------------
47
|  Auto-load Libraries
48
| -------------------------------------------------------------------
49
| These are the classes located in system/libraries/ or your
50
| application/libraries/ directory, with the addition of the
51
| 'database' library, which is somewhat of a special case.
52
|
53
| Prototype:
54
|
55
|	$autoload['libraries'] = array('database', 'email', 'session');
56
|
57
| You can also supply an alternative library name to be assigned
58
| in the controller:
59
|
60
|	$autoload['libraries'] = array('user_agent' => 'ua');
61
*/
62
$autoload['libraries'] = array(
63
	'smartie' => 'smarty',
64
	'session',
65
	'database',
66
	'i18n',
849 lars 67
	'weban',
755 lars 68
	'form_validation',
69
	'pagination',
70
	);
71
 
72
/*
73
| -------------------------------------------------------------------
74
|  Auto-load Drivers
75
| -------------------------------------------------------------------
76
| These classes are located in system/libraries/ or in your
77
| application/libraries/ directory, but are also placed inside their
78
| own subdirectory and they extend the CI_Driver_Library class. They
79
| offer multiple interchangeable driver options.
80
|
81
| Prototype:
82
|
83
|	$autoload['drivers'] = array('cache');
84
|
85
| You can also supply an alternative property name to be assigned in
86
| the controller:
87
|
88
|	$autoload['drivers'] = array('cache' => 'cch');
89
|
90
*/
91
$autoload['drivers'] = array();
92
 
93
/*
94
| -------------------------------------------------------------------
95
|  Auto-load Helper Files
96
| -------------------------------------------------------------------
97
| Prototype:
98
|
99
|	$autoload['helper'] = array('url', 'file');
100
*/
101
$autoload['helper'] = array(
102
	'url',
103
	'form',
811 lars 104
	'weban',
755 lars 105
	);
106
 
107
/*
108
| -------------------------------------------------------------------
109
|  Auto-load Config files
110
| -------------------------------------------------------------------
111
| Prototype:
112
|
113
|	$autoload['config'] = array('config1', 'config2');
114
|
115
| NOTE: This item is intended for use ONLY if you have created custom
116
| config files.  Otherwise, leave it blank.
117
|
118
*/
119
$autoload['config'] = array('weban');
120
 
121
/*
122
| -------------------------------------------------------------------
123
|  Auto-load Language files
124
| -------------------------------------------------------------------
125
| Prototype:
126
|
127
|	$autoload['language'] = array('lang1', 'lang2');
128
|
129
| NOTE: Do not include the "_lang" part of your file.  For example
130
| "codeigniter_lang.php" would be referenced as array('codeigniter');
131
|
132
*/
133
$autoload['language'] = array();
134
 
135
/*
136
| -------------------------------------------------------------------
137
|  Auto-load Models
138
| -------------------------------------------------------------------
139
| Prototype:
140
|
141
|	$autoload['model'] = array('first_model', 'second_model');
142
|
143
| You can also supply an alternative model name to be assigned
144
| in the controller:
145
|
146
|	$autoload['model'] = array('first_model' => 'first');
147
*/
148
$autoload['model'] = array(
149
	);