diff --git a/login/login.php b/login/login.php index 14b3e2820774d51abaddc33948724917174f1583..9ed9a68ecf4e422c93b67c8f5e7e3ba636e0f0f6 100755 --- a/login/login.php +++ b/login/login.php @@ -17,7 +17,7 @@ } if($username == $dbusername && $password == $dbpassword) { - header("Location: ../profile_page/profile.php?id=$user_id"); + header("Location: ../profile/profile.php?id=$user_id"); } } else { include("login.html"); diff --git a/login/sign_up.php b/login/sign_up.php index 001d9baf441d45eac7a32d61902b0ca12285b939..0d451c272739d0a27a6dc259b958b03900246f9a 100644 --- a/login/sign_up.php +++ b/login/sign_up.php @@ -29,7 +29,7 @@ $getUserID = mysqli_query($con,"SELECT user_id FROM user WHERE username='".$username."'") or die(mysql_error()); $row=mysqli_fetch_assoc($getUserID); $user_id=$row['user_id']; - header("Location: ../profile_page/profile.php?id=?$user_id"); + header("Location: ../profile/profile.php?id=?$user_id"); if ($status == "customer") { header("Location: ../order/order.php?id=?$user_id"); } else {