qc.ifish7.com/Application/Common/Conf/config.php

40 lines
2.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
if(file_exists("./Application/Common/Conf/db.php")){
$db=include "./Application/Common/Conf/db.php";
}else{
$db=array();
}
$configs= array(
'SHOW_PAGE_TRACE' =>false,//显示页面跟踪信息
'URL_MODEL' =>0,//
//禁止访问的模块,默认会员和商城是关闭的
'MODULE_DENY_LIST' => array('Member','Shop'),
//伪静态开启
'REWRITE_SWITCH' =>true,//开启伪静态说明文档http://jijin.mydoc.io/?v=42362&t=300177
/*版本号*/
'VERSION' => 'v3.0-20200509-Beta',
/*多语言设置*/
'LANG_SWITCH_ON' => false,
'LANG_LIST' => 'zh-cn,en-us', // 允许切换的语言列表 用逗号分隔
'LANG_OPT'=>array(
"zh-cn"=>"简体中文",
"en-us"=>"English",
),
'VAR_LANGUAGE' => 'lang', // 默认语言切换变量
/*模板路径 如无特殊需求请不要改动*/
'CMS_TEMP_PATH' => './Application/Data/templateFile/', // 前台模板路径
/*cat表和model表等变量缓存路径 如无特殊需求请不要改动*/
'IncCache_PATH' => './Application/Data/IncCache/',
/*cms名称*/
'CMS_NAME' => '鸣河质量管理系统',
/*短信验证码相关配置参数*/
'SMS_CONFIG'=>array(
'accessKeyId' =>'xxx', //AccessKey ID
'accessKeySecret' =>'xxx', //Access Key Secret
'SignName' =>'xxx', //短信签名,应严格按"签名名称"填写,请参考: https://dysms.console.aliyun.com/dysms.htm#/develop/sign
'TemplateCode' =>'xxx', //短信模板Code应严格按"模板CODE"填写, 请参考: https://dysms.console.aliyun.com/dysms.htm#/develop/template
),
// 加载系统设置配置文件 故意使用setting.*获取配置信息,防止与其它配置参数冲突
'LOAD_EXT_CONFIG' => array("setting"=>"setting","display"=>"display","email"=>"email","upload_img"=>"upload_img","upload_file"=>"upload_file","upload_video"=>"upload_video","shop"=>"shop"),
);
return array_merge($configs,$db);