diff xml/getAmazonInfo.php @ 49:a67bf725e87b

put both paths in include_path and depend on that
author Charlie Root
date Wed, 16 Jan 2019 13:42:15 -0500
parents da133c130c1d
children 5f772caee9a7
line wrap: on
line diff
--- a/xml/getAmazonInfo.php	Sun Jan 06 12:46:24 2019 -0500
+++ b/xml/getAmazonInfo.php	Wed Jan 16 13:42:15 2019 -0500
@@ -1,5 +1,5 @@
 <?php
-include_once "ywww/dlog.php";
+include_once "dlog.php";
 include_once "doAmazonRequest.php";
 
 function getAmazonDet($isbn,$go,$localeIn)
@@ -251,7 +251,7 @@
       }
       $queryG = "CALL b_addBrowseNode($key,\"$value\")";	//add the name value pair for genre to new table	
       //echo $queryG;
-      include "private/db.php";
+      include "db.php";
       $resG = my_query($queryG,'gai0');
       mysqli_close($link);
 				
@@ -275,7 +275,7 @@
 			
     if($title != "")
       {
-	include "private/db.php";
+	include "db.php";
 	if ($publisher->count()==0) {
 	  $publisher="null";
 	}
@@ -330,7 +330,7 @@
 {
   global $output;
   //look up info from db	
-  include "private/db.php"; 
+  include "db.php"; 
   $query = "CALL b_getBookInfo('$searchparameterdata', $loc)";
   //echo $query;
   $res = my_query($query,'gai3');