How to activate Rehub theme

In the file admin/rehub.php comment out lines 241 to 246 like this:

//$raw_response = wp_remote_get( ‘https://api.envato.com/v3/market/author/sale?code=’ . $tf_purchase_code, $prepare_request );
//if ( ! is_wp_error( $raw_response ) ) {
// $response = wp_remote_retrieve_body( $raw_response );
// $response = json_decode( $response, true );
//}

And below add this:

$response = array();
$response['buyer'] = $tf_username;
$response['supported_until'] = date('Y-m-d',strtotime(date("Y-m-d", mktime()) . " + 365 day"));

(or just replace the old code with the new code).

Then use any name and key to activate the theme and the bonus plugins and demo content will be available.