Subversion-Projekte lars-tiefland.ci

Revision

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