Sign in
apache
/
nifi-minifi-cpp
/
18f2a7b59bd0845d97d1432f8f4f7b24b27edf05
/
.
/
thirdparty
/
civetweb-1.10
/
test
/
ajax
/
echo.lp
blob: 7276f8137fd1f705e9bb2229b8e23593ee4cf6ab [
file
] [
log
] [
blame
]
<?
--
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
)
?>