diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2020-01-16 00:30:30 +0100 |
---|---|---|
committer | Ansuel Smith <ansuelsmth@gmail.com> | 2020-01-16 15:02:14 +0100 |
commit | 5e6ec8562fe828934ef835490cee405653b06d3a (patch) | |
tree | eb604f3f8c91d7d7b754611a2987eba19081ba82 /themes | |
parent | 88b9d58a44ea52e812cf0c0db5b5b6b87783bd7e (diff) |
luci-base: remove hardcoded cgi-bin path
Currently LuCI can be loaded only when placed in the root of the server as the cgi-bin path are hardcoded. Change the index.html to load the cgi-bin path from the current level.
Also add a new entry in the env Object to make the cgi_base path easily accessible.
This variable will be based on the position of /cgi-bin/luci.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'themes')
0 files changed, 0 insertions, 0 deletions