Initial commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?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);
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* 配置文件
|
||||
*/
|
||||
return array(
|
||||
'DB_TYPE' => 'mysql',
|
||||
'DB_HOST' => 'localhost',
|
||||
'DB_NAME' => 'qcbona',
|
||||
'DB_USER' => 'qcbona',
|
||||
'DB_PWD' => 'KQpFlVvNEKVunKT',
|
||||
'DB_PORT' => '3306',
|
||||
'DB_PREFIX' => 'db_',
|
||||
//cookies
|
||||
"COOKIE_PREFIX" => 'SykNwe_',
|
||||
);
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
return array (
|
||||
'admin_shownum' => '20',
|
||||
'mapkey' => 'iD2gwtGfo1p98lPenidUyx8h',
|
||||
'description_len' => '200',
|
||||
);
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
return array (
|
||||
'MAIL_FROMNAME' => '系统发送',
|
||||
'MAIL_HOST' => 'smtp.exmail.qq.com',
|
||||
'MAIL_USERNAME' => 'noreply@jijinweb.com',
|
||||
'MAIL_PASSWORD' => 'Jijinweb123',
|
||||
'getpass_temp' => '<h1>亲爱的用户:</h1>
|
||||
<p>我们收到了您找回密码的请求。</p>
|
||||
<h2>您的用户名为:[!--username--]:<br>请在24小时内通过以下地址修改密码:</h2>
|
||||
<div>密码修改链接:<a href="[!--getpassurl--]" target="_blank">[!--getpassurl--]</div>
|
||||
<p><span t="5" times=" 17:28">[!--date--]</span></p>
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
return array (
|
||||
'sitename' => '鸣河质量管理系统',
|
||||
'pagetitle' => '鸣河质量管理系统',
|
||||
'pagekey' => '',
|
||||
'pagedes' => '',
|
||||
'domain' => 'http://qc.bona-msr.com/',
|
||||
'indexFileName' => 'index.html',
|
||||
'indexType' => 'dynamic',
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
return array (
|
||||
'customer' => '9B82D367F3263371AD740110A62A7FA0',
|
||||
'sign' => 'xkkkkrrU8971',
|
||||
'order_timeout' => '24',
|
||||
'auto_receipt_time' => '10',
|
||||
'distribution_mode' => '顺丰速运:shunfeng
|
||||
中通快递:zhongtong
|
||||
申通快递:shentong',
|
||||
);
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
return array(
|
||||
//app_begin这个行为标签,其实就是tp的内置标签,作用是在tp初始化的时候,触发某个行为,在这里设置当然是触发多语言的功能了
|
||||
'app_begin' => array('Behavior\CheckLangBehavior'),//多语言
|
||||
);
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
return array (
|
||||
'upload_driver' => 'local',
|
||||
'exts' => 'rar,zip,pdf,mp3,txt,html,csv,xls',
|
||||
'mimes' => '',
|
||||
'maxSize' => '10',
|
||||
'rootPath' => 'file',
|
||||
);
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
return array (
|
||||
'upload_driver' => 'local',
|
||||
'exts' => 'jpg,png,jpeg,gif',
|
||||
'mimes' => 'image/jpg,image/jpeg,image/png,application/octet-stream',
|
||||
'maxSize' => '5',
|
||||
'rootPath' => 'image',
|
||||
);
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
return array (
|
||||
'upload_driver' => 'local',
|
||||
'exts' => 'mp4',
|
||||
'mimes' => '',
|
||||
'maxSize' => '100',
|
||||
'rootPath' => 'video',
|
||||
);
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
return array (
|
||||
'appid' => '',
|
||||
'appsecret' => '',
|
||||
);
|
||||
Reference in New Issue
Block a user