function _backup_migrate_path_is_in_save_dir in Backup and Migrate 6
Same name and namespace in other branches
- 5.2 includes/destinations.file.inc \_backup_migrate_path_is_in_save_dir()
- 5 backup_migrate.module \_backup_migrate_path_is_in_save_dir()
Return the path on the server to save the dump files.
5 calls to _backup_migrate_path_is_in_save_dir()
- backup_migrate_delete_confirm_submit in ./
backup_migrate.module - backup_migrate_file_download in ./
backup_migrate.module - Implementation of hook_file_download.()
- backup_migrate_restore_confirm_submit in ./
backup_migrate.module - _backup_migrate_delete in ./
backup_migrate.module - Menu callback. Delete a previous backup.
- _backup_migrate_restore_from_server in ./
backup_migrate.module - Restore a backup file (from the server)
File
- ./
backup_migrate.module, line 1018 - Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (f.e. cache_*)
Code
function _backup_migrate_path_is_in_save_dir($path, $mode = "") {
$backup_dir = _backup_migrate_get_save_path($mode);
return $path && file_exists($backup_dir) ? file_create_path($path, $backup_dir) : FALSE;
}