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:
parent
2e87464fc8
commit
d6fc337272
@ -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' => ''];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user