diff twitter/twitterLogin.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/twitter/twitterLogin.php	Sun Jan 06 12:46:24 2019 -0500
+++ b/twitter/twitterLogin.php	Wed Jan 16 13:42:15 2019 -0500
@@ -1,5 +1,5 @@
 <?PHP
-	include "../../private/db.php"; 
+	include "db.php"; 
 
 	include 'EpiCurl.php';
 	include 'EpiOAuth.php';
@@ -40,7 +40,7 @@
 			
 			//reset connection
 			mysqli_close($link);
-			include "../../private/db.php"; 
+			include "db.php"; 
 			
 			$sql3="SELECT FirstName, Surname, DisplayName, UserID from user WHERE Email ='$User'";
 			//echo $sql3;