diff --git a/all-in-one-wp-security/admin/wp-security-database-menu.php b/all-in-one-wp-security/admin/wp-security-database-menu.php index 5174aec..3e4f0f3 100644 --- a/all-in-one-wp-security/admin/wp-security-database-menu.php +++ b/all-in-one-wp-security/admin/wp-security-database-menu.php @@ -212,23 +212,13 @@ function render_tab2() $result = $aio_wp_security->backup_obj->execute_backup(); if ($result) { - $backup_file_name = $aio_wp_security->backup_obj->last_backup_file_name; - if (function_exists('is_multisite') && is_multisite()) - { - $aiowps_backup_file_path = $aio_wp_security->backup_obj->last_backup_file_dir_multisite . '/' . $backup_file_name; - } - else - { - $aiowps_backup_dir = WP_CONTENT_DIR.'/'.AIO_WP_SECURITY_BACKUPS_DIR_NAME; - $aiowps_backup_file_path = $aiowps_backup_dir. '/' . $backup_file_name; - } echo '
'; _e('DB Backup was successfully completed! You will receive the backup file via email if you have enabled "Send Backup File Via Email", otherwise you can retrieve it via FTP from the following directory:','all-in-one-wp-security-and-firewall'); echo '
'; _e('Your DB Backup File location: '); - echo ''.$aiowps_backup_file_path.''; + echo ''.$aio_wp_security->backup_obj->last_backup_file_path.''; echo '