Skip to content

Commit d2b2f9d

Browse files
committed
fixbugs
1 parent f8a8a78 commit d2b2f9d

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

WIKI/App/WordPress.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121

2222
mysql -p
2323

24-
创建数据库(补全你的用户名):
24+
(在 MySQL 中) 创建数据库(补全你的用户名):
2525

26-
CREATE DATABASE `<用户名>_wordpress`;
26+
CREATE DATABASE `<用户名>_wordpress`;
2727

2828
回到面板添加 Nginx 站点(补全你的用户名):
2929

@@ -34,7 +34,7 @@
3434
"index.php",
3535
"index.html"
3636
],
37-
"root": "/home/<用户名>/web",
37+
"root": "/home/<用户名>/wordpress",
3838
"location": {
3939
"/": {
4040
"try_files": ["$uri", "$uri/", "/index.php?$args"]

WIKI/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131

3232
### App
3333

34-
* WordPress
34+
* [WordPress](App/WordPress.md)

core/model/ticket.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ exports.createReply = (ticket, account, content, status, callback) ->
7272
callback null, data
7373

7474
exports.addMember = (ticket, account, callback) ->
75-
exports.update
75+
exports.update _id: ticker._id,
7676
$push:
7777
members: account._id
7878
updated_at: new Date()

0 commit comments

Comments
 (0)