function _backup_migrate_path_is_in_save_dir in Backup and Migrate 5.2
Same name and namespace in other branches
- 5 backup_migrate.module \_backup_migrate_path_is_in_save_dir()
- 6 backup_migrate.module \_backup_migrate_path_is_in_save_dir()
Return the path on the server to save the dump files.
File
- includes/
destinations.file.inc, line 181 - Functions to handle the local server directory backup destinations.
Code
function _backup_migrate_path_is_in_save_dir($path, $mode = "") {
$backup_dir = _backup_migrate_get_save_path($mode);
return file_exists($backup_dir) && file_check_location($path, $backup_dir);
}