Re-enable referrer checking for safety

This commit is contained in:
Jamie Cameron
2019-04-16 21:49:37 -07:00
parent a5a4af7410
commit b1dff57ef3

View File

@@ -5,10 +5,7 @@ use warnings;
BEGIN { push(@INC, ".."); };
use WebminCore;
# Since this script is run on every keypress, init_config is intentionally
# not called to reduce startup time.
#&init_config();
&init_config();
# Parse out port
$ENV{'PATH_INFO'} =~ /^\/(\d+)(.*)$/ ||