You are here

function backup_migrate_parse_info_file in Backup and Migrate 8.2

Parse an old fashioned ini-style info file.

1 call to backup_migrate_parse_info_file()
backup_migrate_destination::load_files_info in includes/destinations.inc
Load up the file's metadata from the accompanying .info file if applicable.

File

./backup_migrate.module, line 1043
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

function backup_migrate_parse_info_file($filename) {
  $data = file_get_contents($filename);
  return backup_migrate_parse_ini_format($data);
}