diff user/confirmation.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/confirmation.php	Sun Jan 06 12:46:24 2019 -0500
+++ b/user/confirmation.php	Wed Jan 16 13:42:15 2019 -0500
@@ -1,5 +1,5 @@
 <?PHP
-include "../../private/db.php"; 
+include "db.php"; 
 
 
 // Passkey that got from link
@@ -59,7 +59,7 @@
 	mysqli_close($link);
 	$sql3="DELETE FROM $tbl_name1 WHERE confirm_code = '$passkey'";
 	//echo $sql3;
-	include "../../private/db.php"; 	//need to reinclude otherwise an error is thrown
+	include "db.php"; 	//need to reinclude otherwise an error is thrown
 	$result3=mysqli_query($link,$sql3);
 	mysqli_close($link);