File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121$ store ['YourAmazonStore ' ]['marketplaceId ' ] = '' ; //Marketplace ID for this store
2222$ store ['YourAmazonStore ' ]['keyId ' ] = '' ; //Access Key ID
2323$ store ['YourAmazonStore ' ]['secretKey ' ] = '' ; //Secret Access Key for this store
24+ $ store ['YourAmazonStore ' ]['serviceUrl ' ] = '' ; //optional override for Service URL
2425
2526//Service URL Base
2627//Current setting is United States
Original file line number Diff line number Diff line change @@ -361,8 +361,9 @@ public function setConfig($path){
361361 include ($ path );
362362 $ this ->config = $ path ;
363363 $ this ->setLogPath ($ logpath );
364- if (isset ($ AMAZON_SERVICE_URL ))
365- $ this ->urlbase = $ AMAZON_SERVICE_URL ;
364+ if (isset ($ AMAZON_SERVICE_URL )) {
365+ $ this ->urlbase = $ AMAZON_SERVICE_URL ;
366+ }
366367 } else {
367368 throw new Exception ("Config file does not exist or cannot be read! ( $ path) " );
368369 }
@@ -427,6 +428,9 @@ public function setStore($s=null){
427428 if (!array_key_exists ('secretKey ' , $ store [$ s ])){
428429 $ this ->log ("Secret Key is missing! " ,'Warning ' );
429430 }
431+ if (!empty ($ store [$ s ]['serviceUrl ' ])) {
432+ $ this ->urlbase = $ store [$ s ]['serviceUrl ' ];
433+ }
430434
431435 } else {
432436 $ this ->log ("Store $ s does not exist! " ,'Warning ' );
Original file line number Diff line number Diff line change @@ -6,12 +6,9 @@ auxiliary.org-netbeans-modules-php-phpunit.customSuite_2e_path=
66auxiliary.org-netbeans-modules-php-phpunit.phpUnit_2e_path =
77auxiliary.org-netbeans-modules-php-phpunit.test_2e_groups_2e_ask =false
88auxiliary.org-netbeans-modules-php-phpunit.test_2e_run_2e_all =false
9- file.reference.athena-includes =../../includes
10- file.reference.athena-includes-1 =../../../includes
119ignore.path =
1210include.path =\
13- ${php.global.include.path}:\
14- ${file.reference.athena-includes-1}
11+ ${php.global.include.path}
1512php.version =PHP_54
1613source.encoding =UTF-8
1714src.dir =.
You can’t perform that action at this time.
0 commit comments