mirror of
https://github.com/opnsense/src.git
synced 2026-03-09 09:41:05 -04:00
Generate index.html in the same directory.
This commit is contained in:
parent
086a638ef6
commit
cc1f50a9fe
1 changed files with 3 additions and 1 deletions
|
|
@ -68,7 +68,9 @@ MAIN:{
|
|||
$| = 1;
|
||||
print "Content-Type: text/html\n\n";
|
||||
} else {
|
||||
open(STDOUT, ">", "index.html")
|
||||
my $fn = $0;
|
||||
$fn =~ s/cgi$/html/;
|
||||
open(STDOUT, ">", $fn)
|
||||
or die("index.html: $!\n");
|
||||
}
|
||||
print "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue