merchant rebuild and Config change

This commit is contained in:
Rainer Gümpelein 2022-01-06 18:14:14 +01:00
parent 89d665a8a4
commit 36a0bb4a23
34 changed files with 55 additions and 10375 deletions

View file

@ -20,22 +20,25 @@ sub new {
sub envonline(){
my $self = shift;
my $server_type = "website";
my $server_key = "shareeweb-project";
my $globalconf_file = "/var/www/copri4/shareeconf/global.cfg";
my $conf = Config::General->new($globalconf_file);
my %globalconf = $conf->getall;
my $basedir = "$globalconf{copri_conf}->{basedir}/$globalconf{website}{'shareeweb-project'}->{dir_web}";
my $metahost = $globalconf{website}{'shareeweb-project'}->{operatorWeb1};
my $basedir = "$globalconf{copri_conf}->{basedir}/$globalconf{$server_type}{$server_key}->{dir_web}";
my $metahost = $globalconf{$server_type}{$server_key}->{operatorWeb1};
my %varenv = (
dbname => $globalconf{website}{'shareeweb-project'}{database}->{dbname},
dbuser => $globalconf{website}{'shareeweb-project'}{database}->{user},
dbpassw => $globalconf{website}{'shareeweb-project'}{database}->{passwd},
dbhost => $globalconf{website}{'shareeweb-project'}{database}->{host},
syshost => $globalconf{website}{'shareeweb-project'}->{dir_web},
wwwhost => $globalconf{website}{'shareeweb-project'}->{operatorWeb},
praefix => $globalconf{website}{'shareeweb-project'}{database}->{dbname},
dbname => $globalconf{$server_type}{$server_key}{database}->{dbname},
dbuser => $globalconf{$server_type}{$server_key}{database}->{user},
dbpassw => $globalconf{$server_type}{$server_key}{database}->{passwd},
dbhost => $globalconf{$server_type}{$server_key}{database}->{host},
syshost => $globalconf{$server_type}{$server_key}->{dir_web},
wwwhost => $globalconf{$server_type}{$server_key}->{operatorWeb},
praefix => $globalconf{$server_type}{$server_key}{database}->{dbname},
systype => "sharee",#(azn)
mandant => $globalconf{website}{'shareeweb-project'}->{parent_node},
mandant => $globalconf{$server_type}{$server_key}->{parent_node},
start => $globalconf{shareeapp_conf}->{start},
profile => $globalconf{shareeapp_conf}->{profile},
accounting_1 => $globalconf{shareeapp_conf}->{accounting_1},
@ -64,8 +67,6 @@ sub envonline(){
pdfinvoice => "$basedir/pdfinvoice",
data => "$basedir/data",
xmlfile => "$basedir/xml",
ftp_getfile => "ftp/SWK_codes/got_last.csv",
ftp_putfile => "ftp/SWK_return/konrad_code_protokoll.csv",
head_logo => "",
barcode => "",
printer => "PDF"

View file

@ -1 +0,0 @@
../../../main/src/Lib/PDFGenerator.pm

View file

@ -1 +0,0 @@
../../../main/src/Lib/Printpreview.pm