Subversion-Projekte lars-tiefland.ci

Revision

Revision 811 | Zur aktuellen Revision | Details | 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',
103
	);
104
 
105
/*
106
| -------------------------------------------------------------------
107
|  Auto-load Config files
108
| -------------------------------------------------------------------
109
| Prototype:
110
|
111
|	$autoload['config'] = array('config1', 'config2');
112
|
113
| NOTE: This item is intended for use ONLY if you have created custom
114
| config files.  Otherwise, leave it blank.
115
|
116
*/
117
$autoload['config'] = array('weban');
118
 
119
/*
120
| -------------------------------------------------------------------
121
|  Auto-load Language files
122
| -------------------------------------------------------------------
123
| Prototype:
124
|
125
|	$autoload['language'] = array('lang1', 'lang2');
126
|
127
| NOTE: Do not include the "_lang" part of your file.  For example
128
| "codeigniter_lang.php" would be referenced as array('codeigniter');
129
|
130
*/
131
$autoload['language'] = array();
132
 
133
/*
134
| -------------------------------------------------------------------
135
|  Auto-load Models
136
| -------------------------------------------------------------------
137
| Prototype:
138
|
139
|	$autoload['model'] = array('first_model', 'second_model');
140
|
141
| You can also supply an alternative model name to be assigned
142
| in the controller:
143
|
144
|	$autoload['model'] = array('first_model' => 'first');
145
*/
146
$autoload['model'] = array(
147
	);