Use php to read env vars

This commit is contained in:
Sean Pearce 2019-01-03 10:55:33 -08:00
parent 19a88e14e2
commit 7c6f81671b

View File

@ -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";