mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-06-19 04:35:04 +08:00
fixbugs
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
|
||||
mysql -p
|
||||
|
||||
创建数据库(补全你的用户名):
|
||||
(在 MySQL 中) 创建数据库(补全你的用户名):
|
||||
|
||||
CREATE DATABASE `<用户名>_wordpress`;
|
||||
CREATE DATABASE `<用户名>_wordpress`;
|
||||
|
||||
回到面板添加 Nginx 站点(补全你的用户名):
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"index.php",
|
||||
"index.html"
|
||||
],
|
||||
"root": "/home/<用户名>/web",
|
||||
"root": "/home/<用户名>/wordpress",
|
||||
"location": {
|
||||
"/": {
|
||||
"try_files": ["$uri", "$uri/", "/index.php?$args"]
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
|
||||
### App
|
||||
|
||||
* WordPress
|
||||
* [WordPress](App/WordPress.md)
|
||||
|
||||
@@ -72,7 +72,7 @@ exports.createReply = (ticket, account, content, status, callback) ->
|
||||
callback null, data
|
||||
|
||||
exports.addMember = (ticket, account, callback) ->
|
||||
exports.update
|
||||
exports.update _id: ticker._id,
|
||||
$push:
|
||||
members: account._id
|
||||
updated_at: new Date()
|
||||
|
||||
Reference in New Issue
Block a user