blob: f3ae942a2da51bd42856b959b31ec8dcfb59f32e [file] [log] [blame]
darwineld8bef8a2014-02-11 20:13:22 +01001<?php
Derek Jonesf4a4bd82011-10-20 12:18:42 -05002/**
3 * CodeIgniter
4 *
Phil Sturgeon07c1ac82012-03-09 17:03:37 +00005 * An open source application development framework for PHP 5.2.4 or newer
Derek Jonesf4a4bd82011-10-20 12:18:42 -05006 *
7 * NOTICE OF LICENSE
Andrey Andreeve734b382012-03-26 13:42:36 +03008 *
Derek Jonesf4a4bd82011-10-20 12:18:42 -05009 * Licensed under the Academic Free License version 3.0
Andrey Andreeve734b382012-03-26 13:42:36 +030010 *
Derek Jones61df9062011-10-21 09:55:40 -050011 * This source file is subject to the Academic Free License (AFL 3.0) that is
Derek Jonesf4a4bd82011-10-20 12:18:42 -050012 * bundled with this package in the files license_afl.txt / license_afl.rst.
13 * It is also available through the world wide web at this URL:
14 * http://opensource.org/licenses/AFL-3.0
15 * If you did not receive a copy of the license and are unable to obtain it
16 * through the world wide web, please send an email to
17 * licensing@ellislab.com so we can send you a copy immediately.
18 *
19 * @package CodeIgniter
20 * @author EllisLab Dev Team
darwinel871754a2014-02-11 17:34:57 +010021 * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/)
Derek Jonesf4a4bd82011-10-20 12:18:42 -050022 * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
23 * @link http://codeigniter.com
24 * @since Version 1.0
25 * @filesource
26 */
darwineld8bef8a2014-02-11 20:13:22 +010027defined('BASEPATH') OR exit('No direct script access allowed');
Derek Jonesf4a4bd82011-10-20 12:18:42 -050028
Derek Allard2067d1a2008-11-13 22:59:24 +000029/*
30| -------------------------------------------------------------------
31| AUTO-LOADER
32| -------------------------------------------------------------------
33| This file specifies which systems should be loaded by default.
34|
35| In order to keep the framework as light-weight as possible only the
36| absolute minimal resources are loaded by default. For example,
37| the database is not connected to automatically since no assumption
Derek Jones37f4b9c2011-07-01 17:56:50 -050038| is made regarding whether you intend to use it. This file lets
Derek Allard2067d1a2008-11-13 22:59:24 +000039| you globally define which systems you would like loaded with every
40| request.
41|
42| -------------------------------------------------------------------
43| Instructions
44| -------------------------------------------------------------------
45|
46| These are the things you can load automatically:
47|
Phil Sturgeon9730c752010-12-15 10:50:15 +000048| 1. Packages
49| 2. Libraries
dchill42f8f36db2012-08-30 14:17:28 -040050| 3. Drivers
51| 4. Helper files
52| 5. Custom config files
53| 6. Language files
54| 7. Models
Derek Allard2067d1a2008-11-13 22:59:24 +000055|
56*/
57
58/*
59| -------------------------------------------------------------------
Nic4673d422013-01-09 09:53:41 +020060| Auto-load Packages
Phil Sturgeon9730c752010-12-15 10:50:15 +000061| -------------------------------------------------------------------
62| Prototype:
63|
Derek Jones37f4b9c2011-07-01 17:56:50 -050064| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
Phil Sturgeon9730c752010-12-15 10:50:15 +000065|
66*/
67
Greg Aker44885382011-04-19 15:28:40 -050068$autoload['packages'] = array();
Phil Sturgeon9730c752010-12-15 10:50:15 +000069
70
71/*
72| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -050073| Auto-load Libraries
Derek Allard2067d1a2008-11-13 22:59:24 +000074| -------------------------------------------------------------------
75| These are the classes located in the system/libraries folder
Derek Jonesf0b39942010-03-25 10:08:20 -050076| or in your application/libraries folder.
Derek Allard2067d1a2008-11-13 22:59:24 +000077|
78| Prototype:
79|
dchill42f8f36db2012-08-30 14:17:28 -040080| $autoload['libraries'] = array('database', 'email', 'xmlrpc');
Andrey Andreev88cf55b2014-01-17 15:38:30 +020081|
82| You can also supply an alternative library name to be assigned
83| in the controller:
84|
85| $autoload['libraries'] = array('user_agent' => 'ua');
Derek Allard2067d1a2008-11-13 22:59:24 +000086*/
87
88$autoload['libraries'] = array();
89
90
91/*
92| -------------------------------------------------------------------
dchill42f8f36db2012-08-30 14:17:28 -040093| Auto-load Drivers
94| -------------------------------------------------------------------
95| These classes are located in the system/libraries folder or in your
96| application/libraries folder within their own subdirectory. They
97| offer multiple interchangeable driver options.
98|
99| Prototype:
100|
101| $autoload['drivers'] = array('session', 'cache');
102*/
103
104$autoload['drivers'] = array();
105
106
107/*
108| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -0500109| Auto-load Helper Files
Derek Allard2067d1a2008-11-13 22:59:24 +0000110| -------------------------------------------------------------------
111| Prototype:
112|
113| $autoload['helper'] = array('url', 'file');
114*/
115
116$autoload['helper'] = array();
117
118
119/*
120| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -0500121| Auto-load Config files
Derek Allard2067d1a2008-11-13 22:59:24 +0000122| -------------------------------------------------------------------
123| Prototype:
124|
125| $autoload['config'] = array('config1', 'config2');
126|
127| NOTE: This item is intended for use ONLY if you have created custom
Derek Jones37f4b9c2011-07-01 17:56:50 -0500128| config files. Otherwise, leave it blank.
Derek Allard2067d1a2008-11-13 22:59:24 +0000129|
130*/
131
132$autoload['config'] = array();
133
134
135/*
136| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -0500137| Auto-load Language files
Derek Allard2067d1a2008-11-13 22:59:24 +0000138| -------------------------------------------------------------------
139| Prototype:
140|
141| $autoload['language'] = array('lang1', 'lang2');
142|
Derek Jones37f4b9c2011-07-01 17:56:50 -0500143| NOTE: Do not include the "_lang" part of your file. For example
Derek Allard2067d1a2008-11-13 22:59:24 +0000144| "codeigniter_lang.php" would be referenced as array('codeigniter');
145|
146*/
147
148$autoload['language'] = array();
149
150
151/*
152| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -0500153| Auto-load Models
Derek Allard2067d1a2008-11-13 22:59:24 +0000154| -------------------------------------------------------------------
155| Prototype:
156|
Andrey Andreev5a519db2013-01-12 04:19:19 +0200157| $autoload['model'] = array('first_model', 'second_model');
Derek Allard2067d1a2008-11-13 22:59:24 +0000158|
Andrey Andreev5a519db2013-01-12 04:19:19 +0200159| You can also supply an alternative model name to be assigned
160| in the controller:
161|
162| $autoload['model'] = array('first_model' => 'first');
Derek Allard2067d1a2008-11-13 22:59:24 +0000163*/
164
165$autoload['model'] = array();
166
167
Derek Allard2067d1a2008-11-13 22:59:24 +0000168/* End of file autoload.php */
Andrey Andreev5a519db2013-01-12 04:19:19 +0200169/* Location: ./application/config/autoload.php */