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

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.

主站蜘蛛池模板: 台州市| 梁平县| 仙居县| 礼泉县| 武功县| 诸暨市| 泗阳县| 汉中市| 甘孜县| 阳信县| 灵武市| 海宁市| 吉安市| 苗栗县| 和静县| 讷河市| 谢通门县| 什邡市| 河津市| 达拉特旗| 馆陶县| 耒阳市| 攀枝花市| 苏尼特左旗| 海晏县| 台南县| 前郭尔| 玉山县| 金阳县| 木里| 楚雄市| 库车县| 尖扎县| 宜良县| 台江县| 金阳县| 宁阳县| 孝昌县| 都昌县| 克山县| 武威市|