|
@@ -20,9 +20,9 @@ $config['template'] = array
|
|
|
|
|
|
'replace' => array
|
|
|
(
|
|
|
- 'css' => 'css/',
|
|
|
- 'js' => 'js/',
|
|
|
- 'images' => 'images/',
|
|
|
+ 'css' => '../res/static/css/',
|
|
|
+ 'js' => '../res/static/js/',
|
|
|
+ 'img' => '../res/static/img/',
|
|
|
'script' => 'script/',
|
|
|
'static' => './static/',
|
|
|
),
|
|
@@ -32,10 +32,18 @@ $config['template'] = array
|
|
|
(
|
|
|
# 首页启动屏幕
|
|
|
'home' => 'index',
|
|
|
- 'list_text' => 'list1',
|
|
|
- 'page' => 'intro',
|
|
|
- 'view' => 'article',
|
|
|
- 'magazine' => 'magzine',
|
|
|
+ # 课程
|
|
|
+ 'course' => 'product',
|
|
|
+ # 讲师
|
|
|
+ 'teacher' => 'case',
|
|
|
+ # 文章
|
|
|
+ 'news' => 'news',
|
|
|
+ # 文章详情
|
|
|
+ 'news_view' => 'newsDetail',
|
|
|
+ # 课程详情
|
|
|
+ 'course_view' => 'newsDetail',
|
|
|
+ # 教师详情
|
|
|
+ 'teacher_view' => 'newsDetail',
|
|
|
),
|
|
|
|
|
|
);
|