File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 21
21
$ store ['YourAmazonStore ' ]['marketplaceId ' ] = '' ; //Marketplace ID for this store
22
22
$ store ['YourAmazonStore ' ]['keyId ' ] = '' ; //Access Key ID
23
23
$ store ['YourAmazonStore ' ]['secretKey ' ] = '' ; //Secret Access Key for this store
24
+ $ store ['YourAmazonStore ' ]['serviceUrl ' ] = '' ; //optional override for Service URL
24
25
25
26
//Service URL Base
26
27
//Current setting is United States
Original file line number Diff line number Diff line change @@ -361,8 +361,9 @@ public function setConfig($path){
361
361
include ($ path );
362
362
$ this ->config = $ path ;
363
363
$ 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
+ }
366
367
} else {
367
368
throw new Exception ("Config file does not exist or cannot be read! ( $ path) " );
368
369
}
@@ -427,6 +428,9 @@ public function setStore($s=null){
427
428
if (!array_key_exists ('secretKey ' , $ store [$ s ])){
428
429
$ this ->log ("Secret Key is missing! " ,'Warning ' );
429
430
}
431
+ if (!empty ($ store [$ s ]['serviceUrl ' ])) {
432
+ $ this ->urlbase = $ store [$ s ]['serviceUrl ' ];
433
+ }
430
434
431
435
} else {
432
436
$ 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=
6
6
auxiliary.org-netbeans-modules-php-phpunit.phpUnit_2e_path =
7
7
auxiliary.org-netbeans-modules-php-phpunit.test_2e_groups_2e_ask =false
8
8
auxiliary.org-netbeans-modules-php-phpunit.test_2e_run_2e_all =false
9
- file.reference.athena-includes =../../includes
10
- file.reference.athena-includes-1 =../../../includes
11
9
ignore.path =
12
10
include.path =\
13
- ${php.global.include.path}:\
14
- ${file.reference.athena-includes-1}
11
+ ${php.global.include.path}
15
12
php.version =PHP_54
16
13
source.encoding =UTF-8
17
14
src.dir =.
You can’t perform that action at this time.
0 commit comments