Mercurial > hg > ywww
changeset 41:0578c6e438d3
merge
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sun, 30 Jul 2017 05:36:48 -0400 |
parents | 77ff181476b8 (current diff) ae1459564f66 (diff) |
children | 3f400072bf14 |
files | xml/getAmazonInfo.php |
diffstat | 4 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/mdetect.php Sun Jul 30 05:36:07 2017 -0400 +++ b/mdetect.php Sun Jul 30 05:36:48 2017 -0400 @@ -152,7 +152,7 @@ function uagent_info() { $this->useragent = strtolower($_SERVER['HTTP_USER_AGENT']); - $this->httpaccept = strtolower($_SERVER['HTTP_ACCEPT']); + $this->httpaccept = strtolower(@$_SERVER['HTTP_ACCEPT']); } //**************************
--- a/php/read/getBookDetails.php Sun Jul 30 05:36:07 2017 -0400 +++ b/php/read/getBookDetails.php Sun Jul 30 05:36:48 2017 -0400 @@ -161,9 +161,8 @@ 'xml' => 'http://xml.amazon.com' , //USA xml server ), ); - - $public_key ="AKIAJBXEHTNCU6LLFNIA"; - $private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; + $public_key ="AKIAIHTNWC7L6LOUY4LQ"; + $private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; //for all parameters see if the user has overruled it or use the default foreach ($Adefault as $i=>$d) {
--- a/php/read/similar.php Sun Jul 30 05:36:07 2017 -0400 +++ b/php/read/similar.php Sun Jul 30 05:36:48 2017 -0400 @@ -75,9 +75,10 @@ ), ); -include "aws_signed_request.php"; -$public_key ="AKIAJBXEHTNCU6LLFNIA"; -$private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; +include "aws_signed_request.php"; +$public_key ="AKIAIHTNWC7L6LOUY4LQ"; +$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; + //for all parameters see if the user has overruled it or use the default foreach ($Adefault as $i=>$d) {
--- a/xml/amazonBookSearch.php Sun Jul 30 05:36:07 2017 -0400 +++ b/xml/amazonBookSearch.php Sun Jul 30 05:36:48 2017 -0400 @@ -54,8 +54,8 @@ ); include "aws_signed_request.php"; -$public_key ="AKIAJBXEHTNCU6LLFNIA"; -$private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; +$public_key ="AKIAIHTNWC7L6LOUY4LQ"; +$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; //for all parameters see if the user has overruled it or use the default foreach ($Adefault as $i=>$d) {