Add cgi args parser
authorJamie Cameron <jcameron@webmin.com>
Sun, 7 Jun 2009 20:01:06 +0000 (20:01 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 7 Jun 2009 20:01:06 +0000 (20:01 +0000)
file/cgi_args.pl [new file with mode: 0644]

diff --git a/file/cgi_args.pl b/file/cgi_args.pl
new file mode 100644 (file)
index 0000000..1aef83a
--- /dev/null
@@ -0,0 +1,9 @@
+
+do 'file-lib.pl';
+
+sub cgi_args
+{
+my ($cgi) = @_;
+# None of this module's CGIs can be linked to
+return $cgi eq 'index.cgi' ? '' : 'none';
+}