summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-27 22:19:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-27 22:19:16 +0000
commit4fa474cf2b8c0ec99366c76625e4c78c389d6cb1 (patch)
tree5996ae65d7620c002da164559c02003fcc7acef2 /applications/luci-statistics/luasrc/view
parent8016c9649fe8cf313300bcc87076e2ca54402354 (diff)
applications/luci-statistics: make it work under uhttpd
Diffstat (limited to 'applications/luci-statistics/luasrc/view')
-rw-r--r--applications/luci-statistics/luasrc/view/public_statistics/graph.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-statistics/luasrc/view/public_statistics/graph.htm b/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
index 71be2aa2f2..fcc452f5ac 100644
--- a/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
+++ b/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
@@ -31,7 +31,7 @@ $Id$
<div style="text-align: center">
<% for i, img in ipairs(images) do %>
- <img src="/rrdimg/<%=img%>" />
+ <img src="<%=REQUEST_URI%>?img=<%=img%>" />
<br />
<% end %>
</div>