remove old site name from submit message

This commit is contained in:
Your Name 2025-10-13 14:36:51 -04:00
parent e47ede6bf9
commit b4060ece54

View file

@ -64,7 +64,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
require 'common.php';
if (submitSite($name, $url, $summary, $category)) {
session_destroy();
echo("<html><head><link rel=\"stylesheet\" href=\"/css/main.css\" id=\"pagestyle\"><title>SiteShare | Success</title><body><p>Your site was submitted. Click <a href=\"/\">here</a> to go back to the homepage.</p></body></html>");
echo("<html><head><link rel=\"stylesheet\" href=\"/css/main.css\" id=\"pagestyle\"><title>" . constant("sitename") . " | Success</title><body><p>Your site was submitted. Click <a href=\"/\">here</a> to go back to the homepage.</p></body></html>");
die();
} else {
echo("Error");