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

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.

主站蜘蛛池模板: 宜阳县| 库尔勒市| 三河市| 金溪县| 淮阳县| 阿瓦提县| 五华县| 沂源县| 长海县| 宁南县| 冕宁县| 哈尔滨市| 揭阳市| 安乡县| 阳曲县| 花垣县| 徐闻县| 宁陵县| 元谋县| 邵武市| 信丰县| 竹山县| 巴塘县| 普定县| 临西县| 南充市| 墨竹工卡县| 宝丰县| 隆化县| 定结县| 亚东县| 德江县| 衢州市| 城固县| 都江堰市| 巴林右旗| 水城县| 蒙阴县| 马龙县| 犍为县| 涿州市|