Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 1 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 2 | /** |
| 3 | * CodeIgniter |
| 4 | * |
Phil Sturgeon | 07c1ac8 | 2012-03-09 17:03:37 +0000 | [diff] [blame] | 5 | * An open source application development framework for PHP 5.2.4 or newer |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 6 | * |
| 7 | * NOTICE OF LICENSE |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 8 | * |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 9 | * Licensed under the Academic Free License version 3.0 |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 10 | * |
Derek Jones | 61df906 | 2011-10-21 09:55:40 -0500 | [diff] [blame] | 11 | * This source file is subject to the Academic Free License (AFL 3.0) that is |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 12 | * 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 |
Greg Aker | 0defe5d | 2012-01-01 18:46:41 -0600 | [diff] [blame] | 21 | * @copyright Copyright (c) 2008 - 2012, EllisLab, Inc. (http://ellislab.com/) |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 22 | * @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 Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 28 | /* |
| 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 Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 37 | | is made regarding whether you intend to use it. This file lets |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 38 | | 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 Sturgeon | 9730c75 | 2010-12-15 10:50:15 +0000 | [diff] [blame] | 47 | | 1. Packages |
| 48 | | 2. Libraries |
dchill42 | f8f36db | 2012-08-30 14:17:28 -0400 | [diff] [blame^] | 49 | | 3. Drivers |
| 50 | | 4. Helper files |
| 51 | | 5. Custom config files |
| 52 | | 6. Language files |
| 53 | | 7. Models |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 54 | | |
| 55 | */ |
| 56 | |
| 57 | /* |
| 58 | | ------------------------------------------------------------------- |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 59 | | Auto-load Packges |
Phil Sturgeon | 9730c75 | 2010-12-15 10:50:15 +0000 | [diff] [blame] | 60 | | ------------------------------------------------------------------- |
| 61 | | Prototype: |
| 62 | | |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 63 | | $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared'); |
Phil Sturgeon | 9730c75 | 2010-12-15 10:50:15 +0000 | [diff] [blame] | 64 | | |
| 65 | */ |
| 66 | |
Greg Aker | 4488538 | 2011-04-19 15:28:40 -0500 | [diff] [blame] | 67 | $autoload['packages'] = array(); |
Phil Sturgeon | 9730c75 | 2010-12-15 10:50:15 +0000 | [diff] [blame] | 68 | |
| 69 | |
| 70 | /* |
| 71 | | ------------------------------------------------------------------- |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 72 | | Auto-load Libraries |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 73 | | ------------------------------------------------------------------- |
| 74 | | These are the classes located in the system/libraries folder |
Derek Jones | f0b3994 | 2010-03-25 10:08:20 -0500 | [diff] [blame] | 75 | | or in your application/libraries folder. |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 76 | | |
| 77 | | Prototype: |
| 78 | | |
dchill42 | f8f36db | 2012-08-30 14:17:28 -0400 | [diff] [blame^] | 79 | | $autoload['libraries'] = array('database', 'email', 'xmlrpc'); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 80 | */ |
| 81 | |
| 82 | $autoload['libraries'] = array(); |
| 83 | |
| 84 | |
| 85 | /* |
| 86 | | ------------------------------------------------------------------- |
dchill42 | f8f36db | 2012-08-30 14:17:28 -0400 | [diff] [blame^] | 87 | | Auto-load Drivers |
| 88 | | ------------------------------------------------------------------- |
| 89 | | These classes are located in the system/libraries folder or in your |
| 90 | | application/libraries folder within their own subdirectory. They |
| 91 | | offer multiple interchangeable driver options. |
| 92 | | |
| 93 | | Prototype: |
| 94 | | |
| 95 | | $autoload['drivers'] = array('session', 'cache'); |
| 96 | */ |
| 97 | |
| 98 | $autoload['drivers'] = array(); |
| 99 | |
| 100 | |
| 101 | /* |
| 102 | | ------------------------------------------------------------------- |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 103 | | Auto-load Helper Files |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 104 | | ------------------------------------------------------------------- |
| 105 | | Prototype: |
| 106 | | |
| 107 | | $autoload['helper'] = array('url', 'file'); |
| 108 | */ |
| 109 | |
| 110 | $autoload['helper'] = array(); |
| 111 | |
| 112 | |
| 113 | /* |
| 114 | | ------------------------------------------------------------------- |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 115 | | Auto-load Config files |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 116 | | ------------------------------------------------------------------- |
| 117 | | Prototype: |
| 118 | | |
| 119 | | $autoload['config'] = array('config1', 'config2'); |
| 120 | | |
| 121 | | NOTE: This item is intended for use ONLY if you have created custom |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 122 | | config files. Otherwise, leave it blank. |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 123 | | |
| 124 | */ |
| 125 | |
| 126 | $autoload['config'] = array(); |
| 127 | |
| 128 | |
| 129 | /* |
| 130 | | ------------------------------------------------------------------- |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 131 | | Auto-load Language files |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 132 | | ------------------------------------------------------------------- |
| 133 | | Prototype: |
| 134 | | |
| 135 | | $autoload['language'] = array('lang1', 'lang2'); |
| 136 | | |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 137 | | NOTE: Do not include the "_lang" part of your file. For example |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 138 | | "codeigniter_lang.php" would be referenced as array('codeigniter'); |
| 139 | | |
| 140 | */ |
| 141 | |
| 142 | $autoload['language'] = array(); |
| 143 | |
| 144 | |
| 145 | /* |
| 146 | | ------------------------------------------------------------------- |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 147 | | Auto-load Models |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 148 | | ------------------------------------------------------------------- |
| 149 | | Prototype: |
| 150 | | |
| 151 | | $autoload['model'] = array('model1', 'model2'); |
| 152 | | |
| 153 | */ |
| 154 | |
| 155 | $autoload['model'] = array(); |
| 156 | |
| 157 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 158 | /* End of file autoload.php */ |
dchill42 | f8f36db | 2012-08-30 14:17:28 -0400 | [diff] [blame^] | 159 | /* Location: ./application/config/autoload.php */ |