Mercurial > hg > ywww
diff php/read/map/getMapRecommPaths.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 | 077b0a0a3e6d |
children |
line wrap: on
line diff
--- a/php/read/map/getMapRecommPaths.php Sun Jan 06 12:46:24 2019 -0500 +++ b/php/read/map/getMapRecommPaths.php Wed Jan 16 13:42:15 2019 -0500 @@ -25,7 +25,7 @@ $listName = "MyMap"; //default map } -include "../../../../private/db.php"; +include "db.php"; //need to have an if statement to catch the first time it is run and call - CALL b_setMapAuthorXYcoord //Can swicth to this call if the map is having problems @@ -45,12 +45,12 @@ { //populate the data mysqli_close($link); - include "../../../../private/db.php"; + include "db.php"; $query1 = "CALL b_setupUserMap($UserID, $loc,\"$listName\")"; $results1 = mysqli_query($link, $query1) or exit( mysqli_error( $link )); mysqli_close($link); - include "../../../../private/db.php"; + include "db.php"; // $query = "CALL b_getMap_relatedBooksNPath($UserID, $loc,\"$listName\")"; $query = "CALL b_getMap_topRelatedBNP($UserID, $loc,\"$listName\")";