fix latest changes to viewer and parser

* new dependency postgres and PDO

	* php8 compatible
This commit is contained in:
Robert Schumann
2022-08-10 00:08:41 +02:00
parent 87e271d084
commit 19f680a865
4 changed files with 31 additions and 6 deletions

View File

@@ -13,6 +13,7 @@ $dbuser = $ENV{'REPORT_DB_USER'};
$dbpass = $ENV{'REPORT_DB_PASS'};
$dbhost = $ENV{'REPORT_DB_HOST'}; # Set the hostname if we can't connect to the local socket.
$dbport = $ENV{'REPORT_DB_PORT'} || 3306;
$dbtype = $ENV{'REPORT_DB_TYPE'} || 'mysql';
if(exists $ENV{PARSER_IMAP_SERVER_WITH_PORT} && defined $ENV{PARSER_IMAP_SERVER_WITH_PORT}) {
my @server_attr = split ':', $ENV{PARSER_IMAP_SERVER_WITH_PORT};