function get_response_file() { global $logger; $response_file_path = WPBACKITUP__PLUGIN_PATH . 'logs/backup_response.log'; $filesytem = new WPBackItUp_FileSystem($logger); return $filesytem->get_file_handle($response_file_path, false); }
function get_restore_Log() { global $logger; $status_file_path = WPBACKITUP__PLUGIN_PATH . '/logs/restore_status.log'; $filesystem = new WPBackItUp_FileSystem($logger); return $filesystem->get_file_handle($status_file_path); }