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
|
@ -19,21 +19,24 @@ 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_dms}";
|
||||
my $metahost = $globalconf{operator}{sharee_operator}->{operatorDMS1};
|
||||
my $basedir = "$globalconf{copri_conf}->{basedir}/$globalconf{$server_type}{$server_key}->{dir_dms}";
|
||||
my $metahost = $globalconf{$server_type}{$server_key}->{operatorDMS1};
|
||||
|
||||
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}->{operatorDMS},
|
||||
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}->{operatorDMS},
|
||||
praefix => $globalconf{$server_type}{$server_key}{database}->{dbname},
|
||||
systype => "sharee",#(azn)
|
||||
mandant => $globalconf{shareedms_conf}->{parent_node},
|
||||
start => $globalconf{shareedms_conf}->{start},
|
||||
|
@ -42,7 +45,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 => "dms",
|
||||
term_active_color => "#$globalconf{shareedms_conf}->{term_active_color}",
|
||||
|
|
|
@ -26,7 +26,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 $q = new CGI;
|
||||
my $lb = new Libenz;
|
||||
|
|
|
@ -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