mirror of
https://github.com/gutmensch/docker-dmarc-report.git
synced 2025-12-18 02:06:23 +00:00
Use php to read env vars
This commit is contained in:
parent
19a88e14e2
commit
7c6f81671b
@ -4,10 +4,10 @@
|
||||
// ### configuration ##################################################
|
||||
// ####################################################################
|
||||
|
||||
$dbhost='$$_REPORT_DB_HOST_$$';
|
||||
$dbname='$$_REPORT_DB_NAME_$$';
|
||||
$dbuser='$$_REPORT_DB_USER_$$';
|
||||
$dbpass='$$_REPORT_DB_PASS_$$';
|
||||
$dbhost=getenv('REPORT_DB_HOST');
|
||||
$dbname=getenv('REPORT_DB_NAME');
|
||||
$dbuser=getenv('REPORT_DB_USER');
|
||||
$dbpass=getenv('REPORT_DB_PASS');
|
||||
$dbport='3306';
|
||||
|
||||
$cssfile="default.css";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user