summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-haserl/htdocs/cgi-bin/luci-upload
blob: 371967ce98a5763322efb90f2d3187c85b942b8a (plain)
1
2
3
4
#!/usr/bin/haserl --shell=luac --upload-limit=16384
-- This is a bit hacky: remove -upload from SCRIPT_NAME
ENV.SCRIPT_NAME = ENV.SCRIPT_NAME:sub(1, #ENV.SCRIPT_NAME - 7)
dofile("luci")