comparison goodreads/bkp/callback.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
comparison
equal deleted inserted replaced
48:da133c130c1d 49:a67bf725e87b
28 $grID = $xml->user->attributes()->id; 28 $grID = $xml->user->attributes()->id;
29 //echo $grID; 29 //echo $grID;
30 $userID = $_SESSION['UserID']; 30 $userID = $_SESSION['UserID'];
31 //echo $userID; 31 //echo $userID;
32 32
33 include "../../private/db.php"; 33 include "db.php";
34 $add = "CALL addGoodreadsID($userID,$grID)"; 34 $add = "CALL addGoodreadsID($userID,$grID)";
35 $run = mysqli_query($link, $add); 35 $run = mysqli_query($link, $add);
36 36
37 unset ($obj); 37 unset ($obj);
38 Header( "Location: ../goodreads/syncGoodreadsShelves.php?userID=$userID&grID=$grID" ); 38 Header( "Location: ../goodreads/syncGoodreadsShelves.php?userID=$userID&grID=$grID" );