File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 14
14
![ Thinkbjy] ( http://statics.baijunyao.com/images/other/thinkbjy.jpg )
15
15
16
16
## 使用说明
17
- 1 . 请将程序直接放在根目录下;不要多层目录;例如正确:www/;错误:www/thinkbjy/ ;
17
+ 1 . 请将项目内的所有文件直接放在根目录下;不要多层目录;
18
+ 例如正确:www/;错误:www/thinkbjy/;
18
19
2 . 后台登陆密码默认为admin;
19
- 3 . 如果确认开启了mod_rewrite;请将/Application/Common/Conf/config.php中的URL_MODEL改为2以优化url;如下是URL_MODEL为1和2时的示例<br >
20
- URL_MODEL:1 http://www.baijunyao.com/index.php/Home/Index/article/aid/60 <br >
21
- URL_MODEL:2 http://www.baijunyao.com/article/60 <br >
20
+
21
+ ## 路由设置
22
+ - 如果确认开启了mod_rewrite
23
+ 请将/Application/Common/Conf/config.php中的URL_MODEL改为2
24
+ 请将/Application/Home/Conf/config.php中的URL_ROUTER_ON改为true
25
+ 未开启路由:http://baijunyao.com/index.php/Home/Index/article/aid/60
26
+ 开启路由后:http://baijunyao.com/article/60
27
+ - 如果没有开启了mod_rewrite请不要改动上面两项配置;否则会造成链接访问错误;
22
28
23
29
## 针对thinkphp的改进优化;
24
30
1 . 修复tinkphp的session设置周期无效的bug;
@@ -38,9 +44,9 @@ URL_MODEL:2 http://www.baijunyao.com/article/60<br>
38
44
6 . iCheck;
39
45
40
46
## 链接
41
- 官网:http://www.baijunyao.com
42
- github:https://github.com/baijunyao/thinkphp-bjyblog
43
- oschina:http://git.oschina.net/shuaibai123/thinkbjy
47
+ - 官网:http://www.baijunyao.com
48
+ - github:https://github.com/baijunyao/thinkphp-bjyblog
49
+ - oschina:http://git.oschina.net/shuaibai123/thinkbjy
44
50
45
51
## 商业友好的开源协议
46
52
bjyblog遵循Apache2开源协议发布。Apache Licence是著名的非盈利开源组织Apache采用的协议。该协议和BSD类似,鼓励代码共享和尊重原作者的著作权,同样允许代码修改,再作为开源或商业软件发布。
You can’t perform that action at this time.
0 commit comments