7 Star 10 Fork 5

Rock4Code / TrackBlog

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
升级CI说明.txt 518 Bytes
Copy Edit Web IDE Raw Blame History
Rock4Code authored 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';

Comment ( 0 )

Sign in to post a comment

PHP
1
https://git.oschina.net/trlanfeng/TrackBlog.git
git@git.oschina.net:trlanfeng/TrackBlog.git
trlanfeng
TrackBlog
TrackBlog
master

Search

101014 b92fc32e 1850385 101014 af024cb7 1850385