projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
879d98a
)
Use new module in top-level CGIs
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:37 +0000
(07:49 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:37 +0000
(07:49 +0000)
help.cgi
patch
|
blob
|
history
diff --git
a/help.cgi
b/help.cgi
index
b86aaf1
..
eaaeace
100755
(executable)
--- a/
help.cgi
+++ b/
help.cgi
@@
-2,10
+2,11
@@
# help.cgi
# Displays help HTML for some module, with substitutions
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+
$trust_unknown_referers = 1;
-require './web-lib.pl';
&init_config();
-require './ui-lib.pl';
&error_setup($text{'help_err'});
$ENV{'PATH_INFO'} !~ /[\\\&\;\`\'\"\|\*\?\~\<\>\^\(\)\[\]\{\}\$\n\r]/ ||
&error($text{'help_epath'});