diff user/unsubscribe.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/unsubscribe.php	Sun Jan 06 12:46:24 2019 -0500
+++ b/user/unsubscribe.php	Wed Jan 16 13:42:15 2019 -0500
@@ -2,7 +2,7 @@
 
 $email = strval($_GET['email']);
 
-include "../../private/db.php";  
+include "db.php";  
 
 $query = "update userpref set ReceiveEmail = 0 where UserID in (select UserID from user where Email = '$email') ";
 $results = mysqli_query($link, $query);