summaryrefslogtreecommitdiffstats
path: root/quips.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'quips.cgi')
-rwxr-xr-xquips.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/quips.cgi b/quips.cgi
index c36a09b6c..be8d9f3ec 100755
--- a/quips.cgi
+++ b/quips.cgi
@@ -38,6 +38,10 @@ require "CGI.pl";
ConnectToDatabase();
confirm_login();
+if (Param('enablequips') eq "off") {
+ ThrowUserError("quips_disabled");
+}
+
my $action = $::FORM{'action'} || "";
if ($action eq "show") {