1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
3 | -------------------------------------------------------------------
5 | -------------------------------------------------------------------
6 | This file specifies which systems should be loaded by default.
8 | In order to keep the framework as light-weight as possible only the
9 | absolute minimal resources are loaded by default. For example,
10 | the database is not connected to automatically since no assumption
11 | is made regarding whether you intend to use it. This file lets
12 | you globally define which systems you would like loaded with every
15 | -------------------------------------------------------------------
17 | -------------------------------------------------------------------
19 | These are the things you can load automatically:
24 | 4. Custom config files
31 | -------------------------------------------------------------------
33 | -------------------------------------------------------------------
36 | $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
40 $autoload['packages'] = array(APPPATH.'third_party');
44 | -------------------------------------------------------------------
46 | -------------------------------------------------------------------
47 | These are the classes located in the system/libraries folder
48 | or in your application/libraries folder.
52 | $autoload['libraries'] = array('database', 'session', 'xmlrpc');
55 $autoload['libraries'] = array('form_validation', 'session');
59 | -------------------------------------------------------------------
60 | Auto-load Helper Files
61 | -------------------------------------------------------------------
64 | $autoload['helper'] = array('url', 'file');
67 $autoload['helper'] = array('url', 'form');
71 | -------------------------------------------------------------------
72 | Auto-load Config files
73 | -------------------------------------------------------------------
76 | $autoload['config'] = array('config1', 'config2');
78 | NOTE: This item is intended for use ONLY if you have created custom
79 | config files. Otherwise, leave it blank.
83 $autoload['config'] = array('p2p-tube');
87 | -------------------------------------------------------------------
88 | Auto-load Language files
89 | -------------------------------------------------------------------
92 | $autoload['language'] = array('lang1', 'lang2');
94 | NOTE: Do not include the "_lang" part of your file. For example
95 | "codeigniter_lang.php" would be referenced as array('codeigniter');
99 $autoload['language'] = array('ui', 'error');
103 | -------------------------------------------------------------------
105 | -------------------------------------------------------------------
108 | $autoload['model'] = array('model1', 'model2');
112 $autoload['model'] = array();
115 /* End of file autoload.php */
116 /* Location: ./application/config/autoload.php */