Mercurial > hg > ywww
diff user/getFBSession.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/user/getFBSession.php Sun Jan 06 12:46:24 2019 -0500 +++ b/user/getFBSession.php Wed Jan 16 13:42:15 2019 -0500 @@ -18,7 +18,7 @@ $uid = $facebook->getUser(); $me = $facebook->api('/me'); - include "../../private/db.php"; + include "db.php"; $Email = $me['email']; $FirstName = $me['first_name']; $Surname = $me['last_name']; @@ -41,7 +41,7 @@ //reset connection mysqli_close($link); - include "../../private/db.php"; + include "db.php"; $sql3="SELECT FirstName, Surname, DisplayName, u.UserID, ReceiveEmail, GoodreadsState, LocID from user u, userpref p
