aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/uhttpd/files
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2017-03-26 15:17:06 +0200
committerJohn Crispin <john@phrozen.org>2017-05-16 16:57:01 +0200
commit324ec18615c496049653a03fdd25e8c0507e65cc (patch)
tree59d66a6837b340bd75e9f01637a994e254c259b7 /package/network/services/uhttpd/files
parenta131b892ea4abc08b7ec75d047f22f1716f74209 (diff)
downloadupstream-324ec18615c496049653a03fdd25e8c0507e65cc.tar.gz
upstream-324ec18615c496049653a03fdd25e8c0507e65cc.tar.bz2
upstream-324ec18615c496049653a03fdd25e8c0507e65cc.zip
uhttpd: Enable integrated Lua by default
We enabled lua interpreter by default as it doesn't make any problem in the uhttpd config file and we modify the index page to use it. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'package/network/services/uhttpd/files')
-rw-r--r--package/network/services/uhttpd/files/uhttpd.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.config b/package/network/services/uhttpd/files/uhttpd.config
index 89f99aaeea..563c079a1a 100644
--- a/package/network/services/uhttpd/files/uhttpd.config
+++ b/package/network/services/uhttpd/files/uhttpd.config
@@ -51,8 +51,8 @@ config uhttpd main
# Lua url prefix and handler script.
# Lua support is disabled if no prefix given.
-# option lua_prefix /luci
-# option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua
+ option lua_prefix /luci
+ option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua
# Specify the ubus-rpc prefix and socket path.
# option ubus_prefix /ubus