From 5e6ec8562fe828934ef835490cee405653b06d3a Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Thu, 16 Jan 2020 00:30:30 +0100 Subject: 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 --- modules/luci-base/root/www/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/luci-base/root') diff --git a/modules/luci-base/root/www/index.html b/modules/luci-base/root/www/index.html index 6899820a44..35c0ea0d32 100644 --- a/modules/luci-base/root/www/index.html +++ b/modules/luci-base/root/www/index.html @@ -3,9 +3,9 @@ - + -LuCI - Lua Configuration Interface +LuCI - Lua Configuration Interface -- cgit v1.2.3