2020-12-09 15:17:45 +03:00
|
|
|
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
2018-01-23 12:08:37 +03:00
|
|
|
|
2012-11-11 19:47:25 +02:00
|
|
|
/*
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| 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. Helper files
|
|
|
|
| 4. Custom config files
|
|
|
|
| 5. Language files
|
|
|
|
| 6. Models
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
| -------------------------------------------------------------------
|
2020-12-08 15:49:17 +03:00
|
|
|
| Auto-load Packages
|
2012-11-11 19:47:25 +02:00
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| Prototype:
|
|
|
|
|
|
|
|
|
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2018-01-23 12:08:37 +03:00
|
|
|
$autoload['packages'] = [];
|
2012-11-11 19:47:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| Auto-load Libraries
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| These are the classes located in the system/libraries folder
|
|
|
|
| or in your application/libraries folder.
|
|
|
|
|
|
|
|
|
| Prototype:
|
|
|
|
|
|
|
|
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
|
|
|
|
*/
|
|
|
|
|
2020-12-02 21:03:55 +03:00
|
|
|
$autoload['libraries'] = ['database', 'session'];
|
2012-11-11 19:47:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| Auto-load Helper Files
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| Prototype:
|
|
|
|
|
|
|
|
|
| $autoload['helper'] = array('url', 'file');
|
|
|
|
*/
|
|
|
|
|
2021-10-27 13:02:24 +03:00
|
|
|
$autoload['helper'] = [
|
|
|
|
'asset',
|
|
|
|
'config',
|
2021-10-27 13:03:51 +03:00
|
|
|
'debug',
|
|
|
|
'env',
|
2021-10-28 14:26:48 +03:00
|
|
|
'file',
|
2021-11-15 10:53:24 +03:00
|
|
|
'html',
|
2021-10-27 13:03:51 +03:00
|
|
|
'http',
|
|
|
|
'installation',
|
|
|
|
'language',
|
|
|
|
'password',
|
|
|
|
'path',
|
|
|
|
'permission',
|
2021-11-06 12:22:09 +03:00
|
|
|
'routes',
|
2021-10-27 13:03:51 +03:00
|
|
|
'session',
|
|
|
|
'setting',
|
2021-10-28 14:26:48 +03:00
|
|
|
'string',
|
|
|
|
'url',
|
|
|
|
'validation'
|
2021-10-27 13:02:24 +03:00
|
|
|
];
|
2012-11-11 19:47:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2021-10-27 13:03:51 +03:00
|
|
|
$autoload['config'] = [
|
2021-11-06 18:52:46 +03:00
|
|
|
'app',
|
2021-10-28 14:26:48 +03:00
|
|
|
'google',
|
2021-10-27 13:03:51 +03:00
|
|
|
'email'
|
|
|
|
];
|
2012-11-11 19:47:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| 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');
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2018-01-23 12:08:37 +03:00
|
|
|
$autoload['language'] = [];
|
2012-11-11 19:47:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| Auto-load Models
|
|
|
|
| -------------------------------------------------------------------
|
|
|
|
| Prototype:
|
|
|
|
|
|
|
|
|
| $autoload['model'] = array('model1', 'model2');
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2018-01-23 12:08:37 +03:00
|
|
|
$autoload['model'] = [];
|
2012-11-11 19:47:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* End of file autoload.php */
|
2015-10-18 20:14:31 +03:00
|
|
|
/* Location: ./application/config/autoload.php */
|