summaryrefslogtreecommitdiff
path: root/httemplate/config/config.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/config/config.cgi')
-rw-r--r--httemplate/config/config.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi
index 369314d98..6c3a51aca 100644
--- a/httemplate/config/config.cgi
+++ b/httemplate/config/config.cgi
@@ -1,4 +1,3 @@
-<!-- mason kludge -->
<% include("/elements/header.html",'Edit Configuration', menubar( 'Main Menu' => $p ) ) %>
<SCRIPT>
var gSafeOnload = new Array();
@@ -258,3 +257,7 @@ function SafeOnsubmit() {
</form>
</body></html>
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+</%init>