Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
______--______
ShopXO
提交
ea6b8767
ShopXO
项目概览
______--______
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ea6b8767
编写于
12月 18, 2018
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除配置文件
上级
4f1d26bc
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
2 addition
and
94 deletion
+2
-94
Application/Common/Conf/debug.php
Application/Common/Conf/debug.php
+0
-23
Application/Common/Conf/develop.php
Application/Common/Conf/develop.php
+0
-23
Application/Common/Conf/master.php
Application/Common/Conf/master.php
+0
-23
Application/Common/Conf/test.php
Application/Common/Conf/test.php
+0
-23
core.php
core.php
+2
-2
未找到文件。
Application/Common/Conf/debug.php
已删除
100755 → 0
浏览文件 @
4f1d26bc
<?php
/**
* 数据库配置信息-自动安装生成
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return
array
(
// 数据库配置信息
'DB_TYPE'
=>
'mysql'
,
// 数据库类型
'DB_HOST'
=>
'127.0.0.1'
,
// 服务器地址
'DB_NAME'
=>
'shopxo'
,
// 数据库名
'DB_USER'
=>
'root'
,
// 用户名
'DB_PWD'
=>
'root'
,
// 密码
'DB_PORT'
=>
3306
,
// 端口
'DB_PARAMS'
=>
array
(),
// 数据库连接参数
'DB_PREFIX'
=>
's_'
,
// 数据库表前缀
'DB_CHARSET'
=>
'utf8mb4'
,
// 字符集
'DB_DEBUG'
=>
false
,
// 数据库调试模式 开启后可以记录SQL日志
);
?>
\ No newline at end of file
Application/Common/Conf/develop.php
已删除
100755 → 0
浏览文件 @
4f1d26bc
<?php
/**
* 数据库配置信息-自动安装生成
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return
array
(
// 数据库配置信息
'DB_TYPE'
=>
'mysql'
,
// 数据库类型
'DB_HOST'
=>
'127.0.0.1'
,
// 服务器地址
'DB_NAME'
=>
'shopxo'
,
// 数据库名
'DB_USER'
=>
'root'
,
// 用户名
'DB_PWD'
=>
'root'
,
// 密码
'DB_PORT'
=>
3306
,
// 端口
'DB_PARAMS'
=>
array
(),
// 数据库连接参数
'DB_PREFIX'
=>
's_'
,
// 数据库表前缀
'DB_CHARSET'
=>
'utf8mb4'
,
// 字符集
'DB_DEBUG'
=>
false
,
// 数据库调试模式 开启后可以记录SQL日志
);
?>
\ No newline at end of file
Application/Common/Conf/master.php
已删除
100755 → 0
浏览文件 @
4f1d26bc
<?php
/**
* 数据库配置信息-自动安装生成
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return
array
(
// 数据库配置信息
'DB_TYPE'
=>
'mysql'
,
// 数据库类型
'DB_HOST'
=>
'127.0.0.1'
,
// 服务器地址
'DB_NAME'
=>
'demo_shopxo'
,
// 数据库名
'DB_USER'
=>
'demo_shopxo'
,
// 用户名
'DB_PWD'
=>
'XMSHriXTyHjTJa4f'
,
// 密码
'DB_PORT'
=>
3306
,
// 端口
'DB_PARAMS'
=>
array
(),
// 数据库连接参数
'DB_PREFIX'
=>
's_'
,
// 数据库表前缀
'DB_CHARSET'
=>
'utf8mb4'
,
// 字符集
'DB_DEBUG'
=>
false
,
// 数据库调试模式 开启后可以记录SQL日志
);
?>
\ No newline at end of file
Application/Common/Conf/test.php
已删除
100755 → 0
浏览文件 @
4f1d26bc
<?php
/**
* 数据库配置信息-自动安装生成
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return
array
(
// 数据库配置信息
'DB_TYPE'
=>
'mysql'
,
// 数据库类型
'DB_HOST'
=>
'127.0.0.1'
,
// 服务器地址
'DB_NAME'
=>
'shopxo'
,
// 数据库名
'DB_USER'
=>
'root'
,
// 用户名
'DB_PWD'
=>
'root'
,
// 密码
'DB_PORT'
=>
3306
,
// 端口
'DB_PARAMS'
=>
array
(),
// 数据库连接参数
'DB_PREFIX'
=>
's_'
,
// 数据库表前缀
'DB_CHARSET'
=>
'utf8mb4'
,
// 字符集
'DB_DEBUG'
=>
false
,
// 数据库调试模式 开启后可以记录SQL日志
);
?>
\ No newline at end of file
core.php
浏览文件 @
ea6b8767
...
...
@@ -39,10 +39,10 @@ if(is_dir("./Install") && !file_exists("./Install/install.lock"))
}
// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
define
(
'APP_DEBUG'
,
tru
e
);
define
(
'APP_DEBUG'
,
fals
e
);
// 分之模式,master,develop,test,debug
define
(
'APP_STATUS'
,
'
develop
'
);
define
(
'APP_STATUS'
,
'
master
'
);
/* 定义系统目录分隔符 */
//define('DS', DIRECTORY_SEPARATOR);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录