#!/usr/bin/env perl # $Id: makeindex.pl,v 1.13 2004/05/29 09:43:00 bernisys Exp $ # include PERL libraries use warnings; use diagnostics; # include HotSaNIC libraries use lib "../../lib"; use HotSaNICparser; use HotSaNIChtml; (my $VERSION = '$Revision: 1.13 $') =~ s/.*(\d+\.\d+).*/$1/; (my $IDENTIFIER = '$Id: makeindex.pl,v 1.13 2004/05/29 09:43:00 bernisys Exp $') =~ s/.*,v (.*) \$/$1/; # read global settings # $MODNAME=lc HotSaNICparser::get_module_name(); %CONFIG=HotSaNICparser::get_config("../.."); $IMAGEFORMAT=$CONFIG{IMAGEFORMAT}; $WEBDIR=$CONFIG{WEBDIR}."/".lc $MODNAME; $VARDIR=$CONFIG{VARDIR}."/modules/".lc $MODNAME; $REFRESH=$CONFIG{REFRESH}; $REFRESH=0 if !defined $REFRESH; @DIAGRAMS=("hour","6h","day","week","month","year"); @TIMES=("6h","week"); # build time-based .html files # %DESCR=("bytes" => "Bytes in queue", "req" => "Requests in queue"); foreach $time (@TIMES) { open (FILE,">$WEBDIR/$time.html"); print FILE HotSaNIChtml::create_header($MODNAME,$REFRESH,"$time overview page")."
hotsanic |
Subversion Repositories: |
Line No. | Rev | Author | Line |
---|