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

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.

主站蜘蛛池模板: 长沙市| 浪卡子县| 富蕴县| 龙里县| 尉犁县| 车致| 桓仁| 屏山县| 北票市| 体育| 临洮县| 鄄城县| 泰兴市| 晋宁县| 临沂市| 曲松县| 岳西县| 慈利县| 齐齐哈尔市| 扶风县| 监利县| 彩票| 济阳县| 鄂州市| 浦城县| 荆州市| 托克逊县| 蒲城县| 徐州市| 浙江省| 永靖县| 保亭| 徐汇区| 双流县| 哈巴河县| 金川县| 永修县| 龙山县| 山东| 大连市| 龙门县|