mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next
This commit is contained in:
@@ -11,6 +11,7 @@ srv/web/ipfire/cgi-bin/firewall.cgi
|
||||
srv/web/ipfire/cgi-bin/fwhosts.cgi
|
||||
srv/web/ipfire/cgi-bin/geoip-block.cgi
|
||||
srv/web/ipfire/cgi-bin/index.cgi
|
||||
srv/web/ipfire/cgi-bin/netovpnsrv.cgi
|
||||
srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
||||
srv/web/ipfire/cgi-bin/vpnmain.cgi
|
||||
srv/web/ipfire/html/themes/darkdos/include/style.css
|
||||
|
||||
@@ -59,7 +59,7 @@ if ( $querry[0] ne ""){
|
||||
if (@vpns){
|
||||
foreach (@vpns) {
|
||||
&Header::openbox('100%', 'center', "$_ $Lang::tr{'graph'}");
|
||||
&Graphs::makegraphbox("netovpnsrv.cgi",$_, "day");
|
||||
&Graphs::makegraphbox("netovpnsrv.cgi",$_, "day",320);
|
||||
&Header::closebox();
|
||||
}
|
||||
}else{
|
||||
|
||||
@@ -93,8 +93,10 @@ sub delbefore {
|
||||
}
|
||||
|
||||
sub movedbdata {
|
||||
&connectdb;
|
||||
$dbh->do("insert into ACCT_HIST select datetime(TIME_RUN,'unixepoch'),NAME,SUM(BYTES) from ACCT where datetime(TIME_RUN,'unixepoch') < datetime('now','start of month') group by NAME,datetime(TIME_RUN,'unixepoch');");
|
||||
$dbh->do("DELETE FROM ACCT WHERE datetime(TIME_RUN,'unixepoch') < date('now','start of month');");
|
||||
&closedb;
|
||||
}
|
||||
|
||||
sub gethourgraphdata {
|
||||
|
||||
Reference in New Issue
Block a user