官术网_书友最值得收藏!

Autoloading common system resources

We also are autoloading various resources such as support for database access and session management. We need to specify that we're using these resources.

Open the autoload.php file from /path/to/codeigniter/application/config/ in your text editor and find the following line:

$autoload['libraries'] = array();

Replace this line with the following:

$autoload['libraries'] = array('database', 'session');

This will ensure that the resources that are required in order to access the database and to manage sessions are always with us.

主站蜘蛛池模板: 称多县| 康定县| 上高县| 抚宁县| 黑龙江省| 屏边| 平凉市| 珠海市| 西青区| 禹州市| 宽城| 漳浦县| 仁寿县| 云南省| 临高县| 四子王旗| 蕲春县| 东辽县| 凤山市| 毕节市| 图们市| 宣城市| 鸡东县| 焉耆| 丰台区| 息烽县| 平邑县| 花莲市| 江西省| 平远县| 佛山市| 达尔| 娄底市| 丹凤县| 华蓥市| 新蔡县| 囊谦县| 奉贤区| 开原市| 富源县| 应城市|