A few fixups in ptyhon, plus mailstats panel json 1st pass

This commit is contained in:
2025-04-04 18:02:23 +01:00
parent 9fe0a050cf
commit 9f154c586d
12 changed files with 1159 additions and 25 deletions

View File

@@ -42,11 +42,11 @@ use esmith::NetworksDB;
use esmith::HostsDB;
use esmith::DomainsDB;
my $cdb
my $adb
my $ndb
my $hdb
my $ddb
my $cdb;
my $adb;
my $ndb;
my $hdb;
my $ddb;
require '/usr/share/smanager/lib/SrvMngr/Controller/${PackageName}-Custom.pm'; #The code that is to be added by the developer
@@ -133,7 +133,7 @@ sub do_update {
my $params = $c->req->params->to_hash;
# Get number of POST parameters
my $num_params = keys scaler %$params;
#my $num_params = keys scaler %$params;
#Params are available in the hash "params" - copy to the prefix_data hash
#while (my ($key, $value) = each %{$c->req->params->to_hash}) {