Subversion Repositories munaweb

Rev

Rev 75 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 75 Rev 131
Line 13... Line 13...
13
  global $fromEmail, $toEmail;
13
  global $fromEmail, $toEmail;
14
 
14
 
15
  $config = parse_ini_file('shopify.ini', true);
15
  $config = parse_ini_file('shopify.ini', true);
16
  $site = $config['settings']['site'];
16
  $site = $config['settings']['site'];
17
  $hostname = $config[$site]['hostName'];
17
  $hostname = $config[$site]['hostName'];
-
 
18
  $apiVersion = $config[$site]['apiVersion'];
18
  $apikey = $config[$site]['apiKey'];
19
  $apikey = $config[$site]['apiKey'];
19
  $password = $config[$site]['password'];
20
  $password = $config[$site]['password'];
20
  $sharedSecret = $config[$site]['sharedSecret'];
21
  $sharedSecret = $config[$site]['sharedSecret'];
21
  $shopifyAdminUrl = "https://" . $apikey . ":" . $password . '@' . $hostname . "/admin/";
22
  $shopifyAdminUrl = "https://" . $apikey . ":" . $password . '@' . $hostname . "/admin/"; . $apiVersion . '/';
22
 
23
 
23
  $fromEmail = $config['settings']['fromEmail'];
24
  $fromEmail = $config['settings']['fromEmail'];
24
	$toEmail = $config['settings']['toEmail'];
25
	$toEmail = $config['settings']['toEmail'];
25
}
26
}
26
 
27