init
This commit is contained in:
40
src/application/home/config.php
Normal file
40
src/application/home/config.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* 易优CMS
|
||||
* ============================================================================
|
||||
* 版权所有 2016-2028 海南赞赞网络科技有限公司,并保留所有权利。
|
||||
* 网站地址: http://www.eyoucms.com
|
||||
* ----------------------------------------------------------------------------
|
||||
* 如果商业用途务必到官方购买正版授权, 以免引起不必要的法律纠纷.
|
||||
* ============================================================================
|
||||
* Author: 小虎哥 <1105415366@qq.com>
|
||||
* Date: 2018-4-3
|
||||
*/
|
||||
|
||||
$home_config = array(
|
||||
//分页配置
|
||||
'paginate' => array(
|
||||
'type' => 'eyou',
|
||||
'var_page' => 'page',
|
||||
'list_rows' => 15,
|
||||
),
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
// | 异常及错误设置
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// 异常页面的模板文件
|
||||
//'exception_tmpl' => ROOT_PATH.'public/static/errpage/404.html',
|
||||
// errorpage 错误页面
|
||||
//'error_tmpl' => ROOT_PATH.'public/static/errpage/404.html',
|
||||
|
||||
/**假设这个访问地址是 www.xxxxx.dev/index/goods/goodsInfo/id/1.html
|
||||
*就保存名字为 index_goods_goodsinfo_1.html
|
||||
*配置成这样, 指定 模块 控制器 方法名 参数名
|
||||
*/
|
||||
'HTML_CACHE_ARR'=> array(),
|
||||
);
|
||||
|
||||
$html_config = include_once 'html.php';
|
||||
return array_merge($home_config, $html_config);
|
||||
?>
|
||||
Reference in New Issue
Block a user