Use new module in top-level CGIs

This commit is contained in:
Jamie Cameron
2009-03-01 07:49:37 +00:00
parent 879d98aee9
commit a63fbb3067

View File

@@ -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'});