mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 05:56:27 +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,20 +20,23 @@ sub new {
|
|||
sub envonline(){
|
||||
my $self = shift;
|
||||
|
||||
my $server_type = "operator";
|
||||
my $server_key = "sharee_operator";
|
||||
|
||||
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{operator}{sharee_operator}->{dir_app}";
|
||||
my $metahost = $globalconf{operator}{sharee_operator}->{operatorApp1};
|
||||
my $basedir = "$globalconf{copri_conf}->{basedir}/$globalconf{$server_type}{$server_key}->{dir_app}";
|
||||
my $metahost = $globalconf{$server_type}{$server_key}->{operatorApp1};
|
||||
my %varenv = (
|
||||
dbname => $globalconf{operator}{sharee_operator}{database}->{dbname},
|
||||
dbuser => $globalconf{operator}{sharee_operator}{database}->{user},
|
||||
dbpassw => $globalconf{operator}{sharee_operator}{database}->{passwd},
|
||||
dbhost => $globalconf{operator}{sharee_operator}{database}->{host},
|
||||
syshost => $globalconf{operator}{sharee_operator}->{dir_app},
|
||||
wwwhost => $globalconf{operator}{sharee_operator}->{operatorApp},
|
||||
praefix => $globalconf{operator}{sharee_operator}{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_app},
|
||||
wwwhost => $globalconf{$server_type}{$server_key}->{operatorApp},
|
||||
praefix => $globalconf{$server_type}{$server_key}{database}->{dbname},
|
||||
systype => "sharee",#(azn)
|
||||
mandant => $globalconf{shareeapp_conf}->{parent_node},
|
||||
start => $globalconf{shareeapp_conf}->{start},
|
||||
|
@ -46,7 +49,7 @@ sub envonline(){
|
|||
superu_id => $globalconf{copri_conf}->{superu_id},
|
||||
debug => $globalconf{copri_conf}->{debug},
|
||||
logdir => $globalconf{copri_conf}->{logdir},
|
||||
live_hostname => $globalconf{primary}{sharee_primary}->{live_hostname},
|
||||
live_hostname => $globalconf{$server_type}{$server_key}->{live_hostname},
|
||||
metahost=>"$metahost",
|
||||
orga => "",
|
||||
style_font => "$metahost/img/OfficinaSansITCStd-Book.otf",
|
||||
|
|
|
@ -24,7 +24,12 @@ sub new {
|
|||
#Template
|
||||
sub tpl(){
|
||||
my $self = shift;
|
||||
my ($node_meta,$users_dms,$mode,$varenv,$users_sharee,$return) = @_;
|
||||
my $node_meta = shift;
|
||||
my $users_dms = shift;
|
||||
my $mode = shift || "";
|
||||
my $varenv = shift;
|
||||
my $users_sharee = shift || "";
|
||||
my $return = shift || "";
|
||||
|
||||
my $session="";
|
||||
my $session_and="";
|
||||
|
|
|
@ -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