projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply host-UVL
[project/luci.git]
/
libs
/
httpd
/
host
/
runluci
diff --git
a/libs/httpd/host/runluci
b/libs/httpd/host/runluci
index
65c6b6c
..
bc56f15
100755
(executable)
--- a/
libs/httpd/host/runluci
+++ b/
libs/httpd/host/runluci
@@
-22,6
+22,11
@@
pcall(function()
require "luci.model.uci".cursor = function(config, save)
return uci.cursor(config or SYSROOT .. "/etc/config", save or SYSROOT .. "/tmp/.uci")
end
require "luci.model.uci".cursor = function(config, save)
return uci.cursor(config or SYSROOT .. "/etc/config", save or SYSROOT .. "/tmp/.uci")
end
+
+ local x = require "luci.uvl".UVL.__init__
+ require "luci.uvl".UVL.__init__ = function(self, schemedir)
+ x(self, schemedir or SYSROOT .. "/lib/uci/schema")
+ end
end)
require("luci.sys")
end)
require("luci.sys")