7 Star 9 Fork 4

Rock4Code / TrackBlog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
升级CI说明.txt 518 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
Rock4Code 提交于 2016-08-10 17:38 . update CodeIgniter to 3.1.0
1.config.php中$config['subclass_prefix'] = 'TB_';
2.index.php入口中define('TEMPLATES', 'SimpleBlueV5');
3.database.php中的数据库配置
4.路由
$route['admin'] = 'admin/admin';
$route['article/(:any)'] = 'article/show/$1';
$route['index/(:any)'] = 'index/index/$1';
$route['category/(:any)'] = 'category/showlist/$1';
$route['category/(:any)/(:num)'] = 'category/showlist/$1/$2';
$route['tag/(:any)'] = 'tag/showlist/$1';
$route['tag/(:any)/(:num)'] = 'tag/showlist/$1/$2';
$route['default_controller'] = 'index/index';
PHP
1
https://gitee.com/trlanfeng/TrackBlog.git
git@gitee.com:trlanfeng/TrackBlog.git
trlanfeng
TrackBlog
TrackBlog
master

搜索帮助

14c37bed 8189591 565d56ea 8189591