diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-04 22:41:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-04 22:41:58 +0000 |
commit | 48e06817daf525eb552e064ac94428297d35941b (patch) | |
tree | 6d68cee885290ac8d41e028f5b84d9c6986a4508 /libs/web | |
parent | b871cadf34ed0c78e7619011d44029a1af269b4c (diff) |
* luci/statistics: moving the graph controller to admin caused the images to be generated by the root user which rendered the linked-in public statistics pages unusable because of missing permissions to write the generated graphics as nobody to directories created by root
* luci/core: store the actual dispatching path to .path in node() - this permits dispatcher modules to get the canonical path as luci.dispatcher.dispatched.path
Diffstat (limited to 'libs/web')
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 025ae382d..ef6c6881b 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -336,6 +336,8 @@ function node(...) c = c.nodes[v] end + c.path = arg + return c end |