function backup_migrate_destination::create_info_file

cis7 destinations.inc backup_migrate_destination::create_info_file($file)
cle7 destinations.inc backup_migrate_destination::create_info_file($file)
elmsmedia7 destinations.inc backup_migrate_destination::create_info_file($file)
icor7 destinations.inc backup_migrate_destination::create_info_file($file)
meedjum_blog7 destinations.inc backup_migrate_destination::create_info_file($file)
mooc7 destinations.inc backup_migrate_destination::create_info_file($file)

Create an ini file and write the meta data.

1 call to backup_migrate_destination::create_info_file()
backup_migrate_destination::save_file_info in sites/all/modules/ulmus/backup_migrate/includes/destinations.inc
Save the file metadata

File

sites/all/modules/ulmus/backup_migrate/includes/destinations.inc, line 702
All of the destination handling code needed for Backup and Migrate.

Class

backup_migrate_destination
A base class for creating destinations.

Code

function create_info_file($file) {
  $info = $this->_file_info_file($file);
  $data = _backup_migrate_array_to_ini($file->file_info);
  $info->put_contents($data);
  return $info;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.