projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b635d
)
Add cgi args parser
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 7 Jun 2009 20:01:06 +0000
(20:01 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 7 Jun 2009 20:01:06 +0000
(20:01 +0000)
file/cgi_args.pl
[new file with mode: 0644]
patch
|
blob
diff --git a/file/cgi_args.pl
b/file/cgi_args.pl
new file mode 100644
(file)
index 0000000..
1aef83a
--- /dev/null
+++ b/
file/cgi_args.pl
@@ -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';
+}