You are here

function backup_migrate_files_destination_archivesource::_ini_to_array in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 includes/sources.archivesource.inc \backup_migrate_files_destination_archivesource::_ini_to_array()
  2. 7.3 includes/sources.archivesource.inc \backup_migrate_files_destination_archivesource::_ini_to_array()

Convert an associated array to an ini format string. Only allows 2 levels of depth to allow parse_ini_file to parse.

1 call to backup_migrate_files_destination_archivesource::_ini_to_array()
backup_migrate_files_destination_archivesource::read_manifest in includes/sources.archivesource.inc
Generate a manifest file.

File

includes/sources.archivesource.inc, line 278
A destination type for saving locally to the server.

Class

backup_migrate_files_destination_archivesource
A destination type for saving locally to the server.

Code

function _ini_to_array($path) {
  return parse_ini_file($path, TRUE);
}