mirror of
https://github.com/openwrt/luci.git
synced 2026-08-28 05:46:45 +04:00
Merge pull request #562 from cshore/pull-request-upload-dir
modules/luci-base: Move LuCI FileUpload directory to /etc/luci-upload…
This commit is contained in:
@@ -22,6 +22,10 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/LuaSrcDiet-0.12.1
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
define Package/luci-base/conffiles
|
||||
/etc/luci-uploads
|
||||
endef
|
||||
|
||||
include ../../luci.mk
|
||||
|
||||
define Host/Configure
|
||||
|
||||
@@ -38,7 +38,7 @@ function load(cbimap, ...)
|
||||
require("luci.config")
|
||||
require("luci.util")
|
||||
|
||||
local upldir = "/lib/uci/upload/"
|
||||
local upldir = "/etc/luci-uploads/"
|
||||
local cbidir = luci.util.libpath() .. "/model/cbi/"
|
||||
local func, err
|
||||
|
||||
|
||||
Reference in New Issue
Block a user