Import civetweb ans jsoncpp
This commit is contained in:
9
3P/civetweb/test/ajax/echo.lp
Normal file
9
3P/civetweb/test/ajax/echo.lp
Normal file
@@ -0,0 +1,9 @@
|
||||
<?
|
||||
-- This *.lp file simply runs the *.lua file in the same directory.
|
||||
n = string.match(mg.request_info.uri, "^(.*)%.lp$")
|
||||
if mg.system:find("Windows") then
|
||||
n = string.gsub(n, [[/]], [[\]])
|
||||
end
|
||||
n = mg.document_root .. n .. ".lua"
|
||||
dofile(n)
|
||||
?>
|
||||
Reference in New Issue
Block a user