Skip to content
Snippets Groups Projects
Commit 54b34ccb authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

uhttpd: added uhttpd.docroot


Passes the document-root to the Lua handler by placing it in uhttpd.docroot.

It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.

Signed-off-by: default avatarDavid Favro <openwrt@meta-dynamic.com>

SVN-Revision: 31571
parent bcd8d530
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment