Mercurial Hosting > luan
diff web/src/luan/modules/web/web_shell.luan @ 222:b76fcb72d97d
add AbstractLuanTable and improve HttpLuan
git-svn-id: https://luan-java.googlecode.com/svn/trunk@223 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Mon, 21 Jul 2014 02:23:05 +0000 |
parents | 04b86428dc50 |
children | 82a3ebcfbafa |
line wrap: on
line diff
--- a/web/src/luan/modules/web/web_shell.luan Thu Jul 17 07:49:26 2014 +0000 +++ b/web/src/luan/modules/web/web_shell.luan Mon Jul 21 02:23:05 2014 +0000 @@ -15,10 +15,10 @@ end function service() - if Http.request.get_parameter("clear") ~= nil then + if Http.request.parameters.clear ~= nil then history = {} else - local cmd = Http.request.get_parameter("cmd") + local cmd = Http.request.parameters.cmd if cmd ~= nil then print( "% "..cmd ) try