blob: 43d53155bb372ea36b29a11e689f502d52928efb [file] [log] [blame]
Andrey Andreeve734b382012-03-26 13:42:36 +03001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
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
Andrey Andreev80500af2013-01-01 08:16:53 +020021 * @copyright Copyright (c) 2008 - 2013, 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 */
27
Derek Allard2067d1a2008-11-13 22:59:24 +000028/*
29| -------------------------------------------------------------------
30| AUTO-LOADER
31| -------------------------------------------------------------------
32| This file specifies which systems should be loaded by default.
33|
34| In order to keep the framework as light-weight as possible only the
35| absolute minimal resources are loaded by default. For example,
36| the database is not connected to automatically since no assumption
Derek Jones37f4b9c2011-07-01 17:56:50 -050037| is made regarding whether you intend to use it. This file lets
Derek Allard2067d1a2008-11-13 22:59:24 +000038| you globally define which systems you would like loaded with every
39| request.
40|
41| -------------------------------------------------------------------
42| Instructions
43| -------------------------------------------------------------------
44|
45| These are the things you can load automatically:
46|
Phil Sturgeon9730c752010-12-15 10:50:15 +000047| 1. Packages
48| 2. Libraries
dchill42f8f36db2012-08-30 14:17:28 -040049| 3. Drivers
50| 4. Helper files
51| 5. Custom config files
52| 6. Language files
53| 7. Models
Derek Allard2067d1a2008-11-13 22:59:24 +000054|
55*/
56
57/*
58| -------------------------------------------------------------------
Nic4673d422013-01-09 09:53:41 +020059| Auto-load Packages
Phil Sturgeon9730c752010-12-15 10:50:15 +000060| -------------------------------------------------------------------
61| Prototype:
62|
Derek Jones37f4b9c2011-07-01 17:56:50 -050063| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
Phil Sturgeon9730c752010-12-15 10:50:15 +000064|
65*/
66
Greg Aker44885382011-04-19 15:28:40 -050067$autoload['packages'] = array();
Phil Sturgeon9730c752010-12-15 10:50:15 +000068
69
70/*
71| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -050072| Auto-load Libraries
Derek Allard2067d1a2008-11-13 22:59:24 +000073| -------------------------------------------------------------------
74| These are the classes located in the system/libraries folder
Derek Jonesf0b39942010-03-25 10:08:20 -050075| or in your application/libraries folder.
Derek Allard2067d1a2008-11-13 22:59:24 +000076|
77| Prototype:
78|
dchill42f8f36db2012-08-30 14:17:28 -040079| $autoload['libraries'] = array('database', 'email', 'xmlrpc');
Andrey Andreev88cf55b2014-01-17 15:38:30 +020080|
81| You can also supply an alternative library name to be assigned
82| in the controller:
83|
84| $autoload['libraries'] = array('user_agent' => 'ua');
Derek Allard2067d1a2008-11-13 22:59:24 +000085*/
86
87$autoload['libraries'] = array();
88
89
90/*
91| -------------------------------------------------------------------
dchill42f8f36db2012-08-30 14:17:28 -040092| Auto-load Drivers
93| -------------------------------------------------------------------
94| These classes are located in the system/libraries folder or in your
95| application/libraries folder within their own subdirectory. They
96| offer multiple interchangeable driver options.
97|
98| Prototype:
99|
100| $autoload['drivers'] = array('session', 'cache');
101*/
102
103$autoload['drivers'] = array();
104
105
106/*
107| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -0500108| Auto-load Helper Files
Derek Allard2067d1a2008-11-13 22:59:24 +0000109| -------------------------------------------------------------------
110| Prototype:
111|
112| $autoload['helper'] = array('url', 'file');
113*/
114
115$autoload['helper'] = array();
116
117
118/*
119| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -0500120| Auto-load Config files
Derek Allard2067d1a2008-11-13 22:59:24 +0000121| -------------------------------------------------------------------
122| Prototype:
123|
124| $autoload['config'] = array('config1', 'config2');
125|
126| NOTE: This item is intended for use ONLY if you have created custom
Derek Jones37f4b9c2011-07-01 17:56:50 -0500127| config files. Otherwise, leave it blank.
Derek Allard2067d1a2008-11-13 22:59:24 +0000128|
129*/
130
131$autoload['config'] = array();
132
133
134/*
135| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -0500136| Auto-load Language files
Derek Allard2067d1a2008-11-13 22:59:24 +0000137| -------------------------------------------------------------------
138| Prototype:
139|
140| $autoload['language'] = array('lang1', 'lang2');
141|
Derek Jones37f4b9c2011-07-01 17:56:50 -0500142| NOTE: Do not include the "_lang" part of your file. For example
Derek Allard2067d1a2008-11-13 22:59:24 +0000143| "codeigniter_lang.php" would be referenced as array('codeigniter');
144|
145*/
146
147$autoload['language'] = array();
148
149
150/*
151| -------------------------------------------------------------------
Derek Jones37f4b9c2011-07-01 17:56:50 -0500152| Auto-load Models
Derek Allard2067d1a2008-11-13 22:59:24 +0000153| -------------------------------------------------------------------
154| Prototype:
155|
Andrey Andreev5a519db2013-01-12 04:19:19 +0200156| $autoload['model'] = array('first_model', 'second_model');
Derek Allard2067d1a2008-11-13 22:59:24 +0000157|
Andrey Andreev5a519db2013-01-12 04:19:19 +0200158| You can also supply an alternative model name to be assigned
159| in the controller:
160|
161| $autoload['model'] = array('first_model' => 'first');
Derek Allard2067d1a2008-11-13 22:59:24 +0000162*/
163
164$autoload['model'] = array();
165
166
Derek Allard2067d1a2008-11-13 22:59:24 +0000167/* End of file autoload.php */
Andrey Andreev5a519db2013-01-12 04:19:19 +0200168/* Location: ./application/config/autoload.php */