Mercurial Hosting > luan
diff src/luan/tools/WebShell.java @ 130:0594c132888b
cleanup
git-svn-id: https://luan-java.googlecode.com/svn/trunk@131 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 10 Jun 2014 02:43:40 +0000 |
parents | d00f41edbbd6 |
children |
line wrap: on
line diff
--- a/src/luan/tools/WebShell.java Mon Jun 09 09:16:16 2014 +0000 +++ b/src/luan/tools/WebShell.java Tue Jun 10 02:43:40 2014 +0000 @@ -31,7 +31,7 @@ } protected Object[] eval(LuanState luan,String cmd) throws LuanException { - return Luan.array(luan.eval(cmd,"WebShell",true)); + return Luan.array(luan.eval(cmd)); } @Override protected void service(HttpServletRequest request,HttpServletResponse response) @@ -69,7 +69,7 @@ for( int i=0; i<result.length; i++ ) { if( i > 0 ) writer.write(" "); - writer.write(HtmlLib.encode(luan.JAVA.toString(result[i]))); + writer.write(HtmlLib.encode(luan.toString(result[i]))); } writer.write("\r\n"); }