Subversion-Projekte lars-tiefland.ci

Revision

Revision 755 | Revision 849 | 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',
67
	'form_validation',
68
	'pagination',
69
	);
70
 
71
/*
72
| -------------------------------------------------------------------
73
|  Auto-load Drivers
74
| -------------------------------------------------------------------
75
| These classes are located in system/libraries/ or in your
76
| application/libraries/ directory, but are also placed inside their
77
| own subdirectory and they extend the CI_Driver_Library class. They
78
| offer multiple interchangeable driver options.
79
|
80
| Prototype:
81
|
82
|	$autoload['drivers'] = array('cache');
83
|
84
| You can also supply an alternative property name to be assigned in
85
| the controller:
86
|
87
|	$autoload['drivers'] = array('cache' => 'cch');
88
|
89
*/
90
$autoload['drivers'] = array();
91
 
92
/*
93
| -------------------------------------------------------------------
94
|  Auto-load Helper Files
95
| -------------------------------------------------------------------
96
| Prototype:
97
|
98
|	$autoload['helper'] = array('url', 'file');
99
*/
100
$autoload['helper'] = array(
101
	'url',
102
	'form',
811 lars 103
	'weban',
755 lars 104
	);
105
 
106
/*
107
| -------------------------------------------------------------------
108
|  Auto-load Config files
109
| -------------------------------------------------------------------
110
| Prototype:
111
|
112
|	$autoload['config'] = array('config1', 'config2');
113
|
114
| NOTE: This item is intended for use ONLY if you have created custom
115
| config files.  Otherwise, leave it blank.
116
|
117
*/
118
$autoload['config'] = array('weban');
119
 
120
/*
121
| -------------------------------------------------------------------
122
|  Auto-load Language files
123
| -------------------------------------------------------------------
124
| Prototype:
125
|
126
|	$autoload['language'] = array('lang1', 'lang2');
127
|
128
| NOTE: Do not include the "_lang" part of your file.  For example
129
| "codeigniter_lang.php" would be referenced as array('codeigniter');
130
|
131
*/
132
$autoload['language'] = array();
133
 
134
/*
135
| -------------------------------------------------------------------
136
|  Auto-load Models
137
| -------------------------------------------------------------------
138
| Prototype:
139
|
140
|	$autoload['model'] = array('first_model', 'second_model');
141
|
142
| You can also supply an alternative model name to be assigned
143
| in the controller:
144
|
145
|	$autoload['model'] = array('first_model' => 'first');
146
*/
147
$autoload['model'] = array(
148
	);