projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
020f866
)
Use new module in top-level CGIs
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:06 +0000
(07:49 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:06 +0000
(07:49 +0000)
config.cgi
patch
|
blob
|
history
diff --git
a/config.cgi
b/config.cgi
index
635d13b
..
2ac1e36
100755
(executable)
--- a/
config.cgi
+++ b/
config.cgi
@@
-2,9
+2,9
@@
# config.cgi
# Display a form for editing the configuration of a module.
-require './web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
require './config-lib.pl';
-require './ui-lib.pl';
&init_config();
$m = $in{'module'} || $ARGV[0];
&foreign_available($m) || &error($text{'config_eaccess'});