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

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.

主站蜘蛛池模板: 马山县| 会理县| 全椒县| 浦县| 遂宁市| 阿城市| 涞源县| 双柏县| 乐昌市| 灌云县| 莎车县| 渝北区| 滨海县| 岳普湖县| 阿合奇县| 文登市| 上虞市| 黔江区| 手游| 平果县| 德庆县| 松桃| 长丰县| 南溪县| 盐池县| 东丰县| 浠水县| 马公市| 五大连池市| 永靖县| 根河市| 尉氏县| 平塘县| 正安县| 岳普湖县| 静安区| 图片| 关岭| 云安县| 桑植县| 汝阳县|