Closed narspt closed 9 months ago
I'm closing this because I did check and this is not a problem anymore, actually the password getting blank still happens at pistar level but doesn't cause any problem with relatively recent mmdvmhost versions, because now it uses/requires password only for direct connections to masters.
This problem is not really new, I did just check why/when it happens and found that it is related to DMRGateway/DMR2YSF/DMR2NXDN password "none", actually it is very easy to reproduce:
You can either sort it by changing configure.php to ensure password is always quoted (i.e. when applying settings with DMR mode disabled) or just update DMR_Hosts.txt on your server to use any password different than "none" for DMRGateway/DMR2YSF/DMR2NXDN, as I guess any password works for these?
Alternatively... if you have more of these issues with quotes (and I guess you may have some at least with editor pages also...) did you ever consider using parse_ini_file(..., true, INI_SCANNER_RAW) to completely handle ini's without quotes? seeing that sample ini's coming with DV programs also don't have quotes I guess they don't really require it, you probably add them just to be able to read them on php I guess...