Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * CodeIgniter
- *
- * An open source application development framework for PHP 5.2.4 or newer
- *
- * This content is released under the MIT License (MIT)
- *
- * Copyright (c) 2014, British Columbia Institute of Technology
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- * @package CodeIgniter
- * @author EllisLab Dev Team
- * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/)
- * @copyright Copyright (c) 2014, British Columbia Institute of Technology (http://bcit.ca/)
- * @license http://opensource.org/licenses/MIT MIT License
- * @link http://codeigniter.com
- * @since Version 1.0.0
- * @filesource
- */
- defined('BASEPATH') OR exit('No direct script access allowed');
- /*
- | -------------------------------------------------------------------
- | AUTO-LOADER
- | -------------------------------------------------------------------
- | This file specifies which systems should be loaded by default.
- |
- | In order to keep the framework as light-weight as possible only the
- | absolute minimal resources are loaded by default. For example,
- | the database is not connected to automatically since no assumption
- | is made regarding whether you intend to use it. This file lets
- | you globally define which systems you would like loaded with every
- | request.
- |
- | -------------------------------------------------------------------
- | Instructions
- | -------------------------------------------------------------------
- |
- | These are the things you can load automatically:
- |
- | 1. Packages
- | 2. Libraries
- | 3. Drivers
- | 4. Helper files
- | 5. Custom config files
- | 6. Language files
- | 7. Models
- |
- */
- /*
- | -------------------------------------------------------------------
- | Auto-load Packages
- | -------------------------------------------------------------------
- | Prototype:
- |
- | $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
- |
- */
- $autoload['packages'] = array(
- APPPATH . 'third_party/community_auth/'
- );
- /*
- | -------------------------------------------------------------------
- | Auto-load Libraries
- | -------------------------------------------------------------------
- | These are the classes located in the system/libraries folder
- | or in your application/libraries folder.
- |
- | Prototype:
- |
- | $autoload['libraries'] = array('database', 'email', 'xmlrpc');
- |
- | You can also supply an alternative library name to be assigned
- | in the controller:
- |
- | $autoload['libraries'] = array('user_agent' => 'ua');
- */
- $autoload['libraries'] = array(
- 'database','session','tokens','Authentication'
- );
- /*
- | -------------------------------------------------------------------
- | Auto-load Drivers
- | -------------------------------------------------------------------
- | These classes are located in the system/libraries folder or in your
- | application/libraries folder within their own subdirectory. They
- | offer multiple interchangeable driver options.
- |
- | Prototype:
- |
- | $autoload['drivers'] = array('session', 'cache');
- */
- $autoload['drivers'] = array('session');
- /*
- | -------------------------------------------------------------------
- | Auto-load Helper Files
- | -------------------------------------------------------------------
- | Prototype:
- |
- | $autoload['helper'] = array('url', 'file');
- */
- $autoload['helper'] = array(
- 'serialization','url','form','cookie','security'
- );
- /*
- | -------------------------------------------------------------------
- | Auto-load Config files
- | -------------------------------------------------------------------
- | Prototype:
- |
- | $autoload['config'] = array('config1', 'config2');
- |
- | NOTE: This item is intended for use ONLY if you have created custom
- | config files. Otherwise, leave it blank.
- |
- */
- $autoload['config'] = array(
- 'db_tables','authentication'
- );
- /*
- | -------------------------------------------------------------------
- | Auto-load Language files
- | -------------------------------------------------------------------
- | Prototype:
- |
- | $autoload['language'] = array('lang1', 'lang2');
- |
- | NOTE: Do not include the "_lang" part of your file. For example
- | "codeigniter_lang.php" would be referenced as array('codeigniter');
- |
- */
- $autoload['language'] = array();
- /*
- | -------------------------------------------------------------------
- | Auto-load Models
- | -------------------------------------------------------------------
- | Prototype:
- |
- | $autoload['model'] = array('first_model', 'second_model');
- |
- | You can also supply an alternative model name to be assigned
- | in the controller:
- |
- | $autoload['model'] = array('first_model' => 'first');
- */
- $autoload['model'] = array(
- 'auth_model'
- );
- /* End of file autoload.php */
- /* Location: ./application/config/autoload.php */
Advertisement
Add Comment
Please, Sign In to add comment