Merge branch 'menu'
[project/luci.git] / applications / sgi-haserl / root / www / cgi-bin / ffluci
index 183a6ad412d466831b372374ce1ac0e1ce43dd06..f3d85df642978058940c2538372beeea3dd0341f 100755 (executable)
@@ -1,4 +1,3 @@
 #!/usr/bin/haserl --shell=luac
-package.path  = "/usr/lib/lua/?.lua;/usr/lib/lua/?/init.lua;" .. package.path
-package.cpath = "/usr/lib/lua/?.so;" .. package.cpath
-require("ffluci.dispatcher").httpdispatch()
\ No newline at end of file
+require("ffluci.dispatcher").createindex()
+ffluci.dispatcher.httpdispatch()
\ No newline at end of file