Skip to content

Commit 7ad457a

Browse files
committed
修改注册按钮 完善数据库配置
1 parent 32ab8ef commit 7ad457a

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
DB_PWD=root
2+
DB_NAME=webbug
3+
DB_USER=root
4+
DB_HOST=127.0.0.1
5+
DB_PREFIX=wb_

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
- sh update-framework.sh
66
- 安装数据库 resource/webbug.sql
77
- 修改数据库配置 config/database.php
8+
- 复制.env.example到.env 修改数据库配置
89
- 添加文件夹 public/static/upload 可写权限
10+

application/index/view/user/register.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h4 class="info-title">Welcome to use WebBug</h4>
6262
</div>
6363
<div class="footer text-center">
6464

65-
<input class="btn btn-primary btn-round" id="register" type="submit" value="{:lang('Register')}">
65+
<input class="btn btn-primary btn-round" id="register" type="button" value="{:lang('Register')}">
6666
</div>
6767
</form>
6868
</div>

0 commit comments

Comments
 (0)