* Added support for htdocs module directory
[project/luci.git] / libs / sgi-haserl / htdocs / cgi-bin / luci-upload
1 #!/usr/bin/haserl --shell=luac --upload-limit=16384
2 -- This is a bit hacky: remove -upload from SCRIPT_NAME
3 ENV.SCRIPT_NAME = ENV.SCRIPT_NAME:sub(1, #ENV.SCRIPT_NAME - 7)
4 dofile("luci")