function backup_migrate_files_destination_filesource::get_excluded_paths in Backup and Migrate Files 7
Break the excpluded paths string into a usable list of paths.
1 call to backup_migrate_files_destination_filesource::get_excluded_paths()
- backup_migrate_files_destination_filesource::backup_to_file in includes/
destinations.filesource.inc - Backup from this source.
File
- includes/
destinations.filesource.inc, line 173 - A destination type for saving locally to the server.
Class
- backup_migrate_files_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;
}