diff options
Diffstat (limited to 'modules/admin-core/luasrc')
-rw-r--r-- | modules/admin-core/luasrc/view/admin_system/upgrade.htm | 2 | ||||
-rw-r--r-- | modules/admin-core/luasrc/view/error404.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-core/luasrc/view/admin_system/upgrade.htm b/modules/admin-core/luasrc/view/admin_system/upgrade.htm index 7e23c5400f..cc7438655c 100644 --- a/modules/admin-core/luasrc/view/admin_system/upgrade.htm +++ b/modules/admin-core/luasrc/view/admin_system/upgrade.htm @@ -4,7 +4,7 @@ <p><%:a_s_flash_upgrade1%></p> <br /> <% if sysupgrade and not ret then %> -<form method="post" action="<%=uploadctrl%><%=luci.http.env.PATH_INFO%>" enctype="multipart/form-data"> +<form method="post" action="<%=luci.http.getenv("REQUEST_URI")%>" enctype="multipart/form-data"> <div class="cbi-section-node"> <div class="cbi-value clear"> <div class="cbi-value-title left"><%:a_s_flash_fwimage%></div> diff --git a/modules/admin-core/luasrc/view/error404.htm b/modules/admin-core/luasrc/view/error404.htm index 60daee2cbd..03f6c54f38 100644 --- a/modules/admin-core/luasrc/view/error404.htm +++ b/modules/admin-core/luasrc/view/error404.htm @@ -1,5 +1,5 @@ <%+header%> <h1>404 Not Found</h1> <p>Sorry, the object you requested was not found.</p> -<tt>Unable to dispatch: <%=luci.http.env.PATH_INFO%></tt> +<tt>Unable to dispatch: <%=luci.http.request.env.PATH_INFO%></tt> <%+footer%>
\ No newline at end of file |