mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Use new module in top-level CGIs
This commit is contained in:
5
help.cgi
5
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'});
|
||||
|
||||
Reference in New Issue
Block a user