first commit
This commit is contained in:
35
application/index/config.php
Normal file
35
application/index/config.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
// +------------------------------------------------+
|
||||
// |http://www.cjango.com |
|
||||
// +------------------------------------------------+
|
||||
// | 修复BUG不是一朝一夕的事情,等我喝醉了再说吧! |
|
||||
// +------------------------------------------------+
|
||||
// | Author: 小陈叔叔 <Jason.Chen> |
|
||||
// +------------------------------------------------+
|
||||
|
||||
return [
|
||||
// +----------------------------------------------------------------------
|
||||
// | 日志设置
|
||||
// +----------------------------------------------------------------------
|
||||
'log' => [
|
||||
'type' => 'file',
|
||||
'path' => LOG_PATH . 'index/',
|
||||
'time_format' => ' c ',
|
||||
'file_size' => 2097152,
|
||||
],
|
||||
// +----------------------------------------------------------------------
|
||||
// | 模板设置
|
||||
// +----------------------------------------------------------------------
|
||||
'template' => [
|
||||
'tpl_cache' => true,
|
||||
'strip_space' => false,
|
||||
'taglib_pre_load' => '',
|
||||
'cache_path' => TEMP_PATH . 'index/',
|
||||
],
|
||||
'view_replace_str' => [
|
||||
'__STATIC__' => '/static/index',
|
||||
'__JS__' => '/static/index/js',
|
||||
'__CSS__' => '/static/index/css',
|
||||
'__IMG__' => '/static/index/images',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user