mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 14:06:26 +02:00
merchant rebuild and Config change
This commit is contained in:
parent
89d665a8a4
commit
36a0bb4a23
34 changed files with 55 additions and 10375 deletions
|
@ -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"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../../../main/src/Lib/PDFGenerator.pm
|
|
@ -1 +0,0 @@
|
|||
../../../main/src/Lib/Printpreview.pm
|
Loading…
Add table
Add a link
Reference in a new issue