Skip to content

Commit

Permalink
Adding variable to .env and fixing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Moraes committed Oct 12, 2018
1 parent 85eb4ca commit b955b18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion template-tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@

use Automattic\WooCommerce\Client;

$host = getenv('HOST');

$woocommerce = new Client(
'http://ticketbrazil.test',
$host,
'ck_8db54871486ec2f920fbc42f646cc865ea3106f4',
'cs_60b1d1958cb781b502983b03875442a8a9ca4006',
[
Expand Down

0 comments on commit b955b18

Please sign in to comment.