RoundCube: backup/restore: parse_ini_file INI_SCANNER_RAW

Version 1.57

Bugfix
Finished

The backup_roundcube.php and restore_roundcube.php files try to parse the mysql.conf using parse_ini_file. However, newer installs can contain special characters which require the INI_SCANNER_RAW option to be passed to this function. There is a fallback, in case that fails, so it would read the RC config.inc.php directly instead, but the main method (preferred) would login to the mysql server to confirm if the da_roundcube database exists.. which also account for a possible remote host being used. (the fallback login method does not account for remote da_roundcube DBs.

Interested to try DirectAdmin? Get a 30-day Free Trial!