You are here

function backup_migrate_destination_filesource::get_excluded_paths in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::get_excluded_paths()
  2. 7.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::get_excluded_paths()

Break the excpluded paths string into a usable list of paths.

4 calls to backup_migrate_destination_filesource::get_excluded_paths()
backup_migrate_destination_filesource::_backup_to_file_cli in includes/sources.filesource.inc
Backup from this source.
backup_migrate_destination_filesource::_backup_to_file_php in includes/sources.filesource.inc
Backup from this source.
backup_migrate_files_destination_archivesource::_backup_to_file_cli in includes/sources.archivesource.inc
Backup from this source.
backup_migrate_files_destination_archivesource::_backup_to_file_php in includes/sources.archivesource.inc
Backup from this source.

File

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

Class

backup_migrate_destination_filesource
A destination type for saving locally to the server.

Code

function get_excluded_paths($paths) {
  $out = explode("\n", $paths);
  foreach ($out as $key => $val) {
    $out[$key] = trim($val, "/ \t\r\n");
  }
  return $out;
}