mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-23 19:21:04 +08:00
fixbugs
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
## PHP-FPM
|
||||
|
||||
apt-get install php5-cli php5-fpm php-pear php5-mysql php5-curl php5-gd php-pear php5-imap php5-mcrypt php5-memcache php5-tidy php5-xmlrpc php5-sqlite php5-mongo
|
||||
|
||||
rm /etc/php5/fpm/pool.d/www.conf
|
||||
|
||||
vi /etc/nginx/fastcgi_params
|
||||
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
@@ -13,7 +13,7 @@ exports.post '/update_password', (req, res) ->
|
||||
|
||||
child_process.exec "echo '#{req.account.username}:#{req.body.password}' | sudo chpasswd", (err, stdout, stderr) ->
|
||||
throw err if err
|
||||
res.json 200, {}
|
||||
res.json {}
|
||||
|
||||
exports.post '/kill', (req, res) ->
|
||||
pid = parseInt req.body.pid
|
||||
|
||||
Reference in New Issue
Block a user