Mercurial Hosting > luan
comparison web/src/luan/modules/web/web_shell.luan @ 285:582e8db4cdb6
add lucene Web_search
git-svn-id: https://luan-java.googlecode.com/svn/trunk@286 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 02 Dec 2014 06:17:45 +0000 |
parents | 82a3ebcfbafa |
children | 91be4027b2a8 |
comparison
equal
deleted
inserted
replaced
284:8870840251ea | 285:582e8db4cdb6 |
---|---|
20 else | 20 else |
21 local cmd = Http.request.parameters.cmd | 21 local cmd = Http.request.parameters.cmd |
22 if cmd ~= nil then | 22 if cmd ~= nil then |
23 print( "% "..cmd ) | 23 print( "% "..cmd ) |
24 try | 24 try |
25 local line = load(cmd,"<web_shell>",env,true); | 25 local line = load(cmd,"<web_shell>",env,true) |
26 Debug.print_if_something( line() ) | 26 Debug.print_if_something( line() ) |
27 catch e do | 27 catch e do |
28 Io.print_to(Io.stderr,e) | 28 Io.print_to(Io.stderr,e) |
29 print(e) | 29 print(e) |
30 end | 30 end |