projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f4ffb
)
Use new module in top-level CGIs
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:43 +0000
(07:49 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:43 +0000
(07:49 +0000)
module_chooser.cgi
patch
|
blob
|
history
diff --git
a/module_chooser.cgi
b/module_chooser.cgi
index
cd03c06
..
66060e6
100755
(executable)
--- a/
module_chooser.cgi
+++ b/
module_chooser.cgi
@@
-1,8
+1,10
@@
#!/usr/local/bin/perl
# This CGI generates the HTML for choosing a module or list of modules
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+
$trust_unknown_referers = 1;
-require './web-lib.pl';
&init_config();
&ReadParse(undef, undef, 2);
%access = &get_module_acl();