1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- $config['base'] = array
- (
- 'name' => '小码侠',
- 'version' => '1.0.0 Beta',
- );
- # 前台通用配置
- $config['template'] = array
- (
- # 静态页面目录
- 'assets' => 'default',
- # 模板编译器目录
- 'template' => 'default',
- # 模板html文件的所在目录,默认为html
- 'path' => '',
- 'replace' => array
- (
- 'css' => '../res/static/css/',
- 'js' => '../res/static/js/',
- 'img' => '../res/static/img/',
- 'script' => 'script/',
- 'static' => './static/',
- ),
- # 编译器与模板对应关系目录,定义之后,代表可以完全不改动前端的代码,可以为空,为空则一一对应,参考manage
- 'relation' => array
- (
- # 首页启动屏幕
- 'home' => 'index',
- # 课程
- 'course' => 'product',
- # 讲师
- 'teacher' => 'case',
- # 文章
- 'news' => 'news',
- # 文章详情
- 'news_view' => 'newsDetail',
- # 课程详情
- 'course_view' => 'courseDetail',
- # 教师详情
- 'teacher_view' => 'teacherDetail',
- ),
-
- );
- return $config;
|