1234567891011121314151617181920212223242526272829303132 |
- <?php
- # 模板配置
- $config['template'] = array
- (
- # 使用的模板 注意:定义这个之后,将会强制将本项目模板变成这个
- 'assets' => 'moltran',
- //'assets' => 'layadmin',
- 'template' => 'default',
- 'layout' => '.content',
- 'replace' => array
- (
- 'css' => '../css/',
- 'lib' => '../lib/',
- 'img' => '../img/',
- 'images' => '../images/',
- 'js' => '../js/',
- 'script' => '../script/',
- # 以下的替换主要用于合并操作(host里的merge项)
- 'font' => '../fonts/',
- ),
- );
- if ($config['template']['assets'] == 'layadmin') {
- $config['template']['layout'] = '';
- $config['template']['template'] = $config['template']['assets'];
- }
- return $config;
|