You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
9 months ago
|
<?php
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Author: liu21st <liu21st@gmail.com>
|
||
|
// +----------------------------------------------------------------------
|
||
|
// $Id$
|
||
|
|
||
|
return [
|
||
|
'url_route_on' => true,
|
||
|
'log' => [
|
||
|
'type' => 'file', // 支持 socket trace file
|
||
|
],
|
||
|
'view' => [
|
||
|
// 模板引擎
|
||
|
'engine_type' => 'think',
|
||
|
// 模板引擎配置
|
||
|
'engine_config' => [
|
||
|
// 模板路径
|
||
|
'view_path' => '',
|
||
|
// 模板后缀
|
||
|
'view_suffix' => '.html',
|
||
|
// 模板文件名分隔符
|
||
|
'view_depr' => DS,
|
||
|
],
|
||
|
// 输出字符串替换
|
||
|
'parse_str' => [],
|
||
|
],
|
||
|
];
|