]> git.proxmox.com Git - ceph.git/blob - ceph/src/civetweb/test/ajax/echo.lp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / civetweb / test / ajax / echo.lp
1 <?
2 -- This *.lp file simply runs the *.lua file in the same directory.
3 n = string.match(mg.request_info.uri, "^(.*)%.lp$")
4 if mg.system:find("Windows") then
5 n = string.gsub(n, [[/]], [[\]])
6 end
7 n = mg.document_root .. n .. ".lua"
8 dofile(n)
9 ?>