projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85ffd58
)
Use new module in top-level CGIs
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:50:15 +0000
(07:50 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:50:15 +0000
(07:50 +0000)
webmin_search.cgi
patch
|
blob
|
history
diff --git
a/webmin_search.cgi
b/webmin_search.cgi
index
d196ab7
..
cd240c1
100644
(file)
--- a/
webmin_search.cgi
+++ b/
webmin_search.cgi
@@
-1,9
+1,10
@@
#!/usr/local/bin/perl
# Search Webmin modules and help pages and text and config.info
-do './web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+
&init_config();
-do './ui-lib.pl';
&ReadParse();
$prod = &get_product_name();