0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00

dump mysql config things; lets fumble about in the dark once again and see...

This commit is contained in:
David Goodwin 2019-02-16 19:17:27 +00:00
parent 2e87464fc8
commit d6fc337272

View File

@ -55,7 +55,10 @@ if (getenv('DATABASE') == 'mysql') {
$config = parse_ini_file($expand_tilde('~/.my.cnf'));
var_dump($config);
if (empty($config)) {
var_dump("using default mysql config (localhost, root, empty password");
$config = ['user'=>'root', 'host' => '127.0.0.1', 'password' => ''];
}