123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- # 一些基本配置
- $config['base'] = array
- (
-
- );
- $config['template'] = array
- (
- # 静态页面目录
- 'assets' => 'mobile',
- # 模板编译器目录
- 'template' => 'mobile',
- # 模板html文件的所在目录,默认为html
- 'path' => '',
- 'replace' => array
- (
- 'css' => 'css/',
- 'js' => 'js/',
- 'images' => 'images/',
- ),
- # 编译器与模板对应关系目录,定义之后,代表可以完全不改动前端的代码,可以为空,为空则一一对应,参考manage
- 'relation' => array
- (
- # 首页启动屏幕
- 'home' => 'index',
- ),
-
- );
- return $config;
|