Mercurial > hg > ywww
diff php/read/getBookDetails.php @ 48:da133c130c1d
include path normalise
author | Charlie Root |
---|---|
date | Sun, 06 Jan 2019 12:46:24 -0500 |
parents | b7376319d25a |
children | a67bf725e87b |
line wrap: on
line diff
--- a/php/read/getBookDetails.php Sun Jan 06 12:17:05 2019 -0500 +++ b/php/read/getBookDetails.php Sun Jan 06 12:46:24 2019 -0500 @@ -107,7 +107,7 @@ if($proceed == true) { include "aws_signed_request.php"; - include_once "../../xml/doAmazonRequest.php"; + include_once "ywww/xml/doAmazonRequest.php"; //book does not exist already so look up all the info from browse nodes.... @@ -262,7 +262,7 @@ $salesRank = "null"; mysqli_close($link); //do not remove. reset is needed otherwise mysqli_fetch_array doesn't work after first loop - include "../../../private/db.php"; + include "private/db.php"; $title = strtr($title, '"', "'"); $queryInsert = "CALL b_addNewBook(\"$isbn\",\"$title\", \"$author\",\"$binding\",\"$imageURL\", $dewey, $salesRank,$pubDate,\"$publisher\",$g1,$g2,$g3,$loc)";